From 4bef2c48eba058e1e50826a7c752a0a181357b1e Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Thu, 7 Feb 2013 10:10:38 +0100 Subject: [PATCH] Remove debug output --- simgear/props/propertyObject.hxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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; } -- 2.39.5