Removed some extraneous debugging output. Hey, this one was subtle. Due

to const/no-const variants of the prop->getNode() method, the 2nd bool
argument was getting promoted to an int so it would match a method with
a const SGPropertyNode * as the first argument.  But that made
it match the wrong version of prop->getNode() and things were failing.
Yikes!  This is one I could have stared at for days to figure out so I'm
glad I caught on to the problem. :-)
This commit is contained in:
curt
2003-05-07 01:59:03 +00:00
parent 525d2df3cc
commit 25364aa2a6

View File

@@ -46,11 +46,6 @@ FGPropertyCondition::FGPropertyCondition ( SGPropertyNode *prop_root,
const char *propname )
: _node( prop_root->getNode(propname, true) )
{
cout << "FGPropertyCondition::FGPropertyCondition()" << endl;
cout << " prop_root = " << prop_root << endl;
cout << " propname = " << propname << endl;
_node = prop_root->getNode(propname, true);
cout << " _node = " << _node << endl;
}
FGPropertyCondition::~FGPropertyCondition ()