]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/props_test.cxx
MSVC++ bug work-around from Frederic Bouvier.
[simgear.git] / simgear / misc / props_test.cxx
index 4e48b6c593e10042cbf2de24ced2f59fd5cfe17f..b98e6e6b6f2284ba7a5e0d46cce88a2a6c9f4dd4 100644 (file)
@@ -313,7 +313,7 @@ test_property_nodes ()
   cout << endl;
 
   cout << "Looking for all /hack[0]/bar children" << endl;
-  vector<SGPropertyNode *> bar = child->getChildren("bar");
+  vector<SGPropertyNode_ptr> bar = child->getChildren("bar");
   cout << "There are " << bar.size() << " matches" << endl;
   for (int i = 0; i < (int)bar.size(); i++)
     cout << bar[i]->getName() << '[' << bar[i]->getIndex() << ']' << endl;