]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/props_test.cxx
- made getValue methods protected, so that they won't be invoked outside
[simgear.git] / simgear / misc / props_test.cxx
index 3fa2333b1fdee3ff84f3bb52d600d54a3835ce35..8d18162d4e12314f19952b918bfbf8d77453d05a 100644 (file)
@@ -3,18 +3,15 @@
 // Test harness.
 ////////////////////////////////////////////////////////////////////////
 
-#ifdef HAVE_CONFIG_H
-#  include <config.h>
-#endif
-
 #include <simgear/compiler.h>
 
 #include STL_IOSTREAM
 #include "props.hxx"
 
-#if !defined(FG_HAVE_NATIVE_SGI_COMPILERS)
-FG_USING_STD(cout);
-FG_USING_STD(endl);
+#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
+SG_USING_STD(cout);
+SG_USING_STD(cerr);
+SG_USING_STD(endl);
 #endif
 
 
@@ -317,7 +314,7 @@ test_property_nodes ()
   cout << "Looking for all /hack[0]/bar children" << endl;
   vector<SGPropertyNode *> bar = child->getChildren("bar");
   cout << "There are " << bar.size() << " matches" << endl;
-  for (int i = 0; i < bar.size(); i++)
+  for (int i = 0; i < (int)bar.size(); i++)
     cout << bar[i]->getName() << '[' << bar[i]->getIndex() << ']' << endl;
   cout << endl;