From: Thomas Geymayer Date: Thu, 7 Feb 2013 09:10:38 +0000 (+0100) Subject: Remove debug output X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4bef2c48eba058e1e50826a7c752a0a181357b1e;p=simgear.git Remove debug output --- diff --git a/simgear/props/propertyObject.hxx b/simgear/props/propertyObject.hxx index ffa4866b..9e658659 100644 --- a/simgear/props/propertyObject.hxx +++ b/simgear/props/propertyObject.hxx @@ -115,11 +115,9 @@ public: T operator=(const T& aValue) { SGPropertyNode* n = PropertyObjectBase::node(true); - if (!n) { - std::cout << "no node" << std::endl; + if( !n ) return aValue; - } - + n->setValue(aValue); return aValue; }