]> git.mxchange.org Git - simgear.git/blobdiff - simgear/props/tiedpropertylist.hxx
scenery: Use correct property root in xml loading.
[simgear.git] / simgear / props / tiedpropertylist.hxx
index c825d1051e027890bcfd813c5f646da6f58c4d4f..7fb354c4da043bd7a7e4743c0abe32ec0d83008d 100644 (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) {}
@@ -52,7 +51,7 @@ public:
     template<typename T> SGPropertyNode_ptr Tie( SGPropertyNode_ptr node, const SGRawValue<T> &rawValue, bool useDefault = true  ) {
         bool success = node->tie( rawValue, useDefault );
         if( success ) {
-            SG_LOG( SG_ALL, SG_INFO, "Tied " << node->getPath() );
+            SG_LOG( SG_ALL, SG_DEBUG, "Tied " << node->getPath() );
             push_back( node );
         } else {
 #if PROPS_STANDALONE
@@ -126,7 +125,7 @@ public:
 
     void Untie() {
         while( size() > 0 ) {
-            SG_LOG( SG_ALL, SG_INFO, "untie of " << back()->getPath() );
+            SG_LOG( SG_ALL, SG_DEBUG, "untie of " << back()->getPath() );
             back()->untie();
             pop_back();
         }