From 25364aa2a66e098a49d6d324cb06c5bcc90e8662 Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 7 May 2003 01:59:03 +0000 Subject: [PATCH] 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. :-) --- simgear/props/condition.cxx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/simgear/props/condition.cxx b/simgear/props/condition.cxx index d50f461a..dc5a437a 100644 --- a/simgear/props/condition.cxx +++ b/simgear/props/condition.cxx @@ -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 () -- 2.39.5