#include <simgear/debug/logstream.hxx>
SG_USING_STD(sort);
+SG_USING_STD(find);
+SG_USING_STD(vector);
#endif
SGPropertyNode_ptr node;
pos = find_child(name, index, _removedChildren);
if (pos >= 0) {
- std::vector<SGPropertyNode_ptr>::iterator it = _removedChildren.begin();
+ vector<SGPropertyNode_ptr>::iterator it = _removedChildren.begin();
it += pos;
node = _removedChildren[pos];
_removedChildren.erase(it);
SGPropertyNode_ptr ret;
int pos = find_child(name, index, _children);
if (pos >= 0) {
- std::vector<SGPropertyNode_ptr>::iterator it = _children.begin();
+ vector<SGPropertyNode_ptr>::iterator it = _children.begin();
it += pos;
SGPropertyNode_ptr node = _children[pos];
_children.erase(it);