Keep PropertyList outside global namespace

Avoids conflict with FG's GUI widget "PropertyList"...
(don't use "using..." in header files since namespaces become useless then)
This commit is contained in:
ThorstenB
2011-03-23 22:30:42 +01:00
parent 44f27b23d0
commit eae1b99036

View File

@@ -22,7 +22,6 @@
#define __TIEDPROPERTYLIST_HXX
#include <simgear/props/props.hxx>
#include <assert.h>
using simgear::PropertyList;
namespace simgear {
@@ -31,7 +30,7 @@ namespace simgear {
* This helper class keeps track of tied properties and unties
* each tied property when this class gets destructed.
*/
class TiedPropertyList : PropertyList {
class TiedPropertyList : simgear::PropertyList {
public:
TiedPropertyList() {}
TiedPropertyList( SGPropertyNode_ptr root ) : _root(root) {}