Forgot to comment out debug lines.

This commit is contained in:
Jean-Paul Chaput 2010-10-14 09:23:21 +00:00
parent 0cd5cc498d
commit dbb56bbc50
1 changed files with 4 additions and 4 deletions

View File

@ -191,7 +191,7 @@ namespace Cfg {
bool Parameter::_doChange ( unsigned int flags, const string& s, bool b, int i, double d ) bool Parameter::_doChange ( unsigned int flags, const string& s, bool b, int i, double d )
{ {
cerr << "_doChange: " << _id << ":" << _value << " -> \"" << s << "\"|" << b << "|" << i << "|" << d; //cerr << "_doChange: " << _id << ":" << _value << " -> \"" << s << "\"|" << b << "|" << i << "|" << d;
Configuration* configuration = Configuration::get(); Configuration* configuration = Configuration::get();
ostringstream svalue; ostringstream svalue;
@ -223,11 +223,11 @@ namespace Cfg {
} }
if ( not success ) { if ( not success ) {
cerr << " (" << _flags << "," << _minInt << ") check failed." << endl; //cerr << " (" << _flags << "," << _minInt << ") check failed." << endl;
return false; return false;
} }
if ( svalue.str() == _value ) { if ( svalue.str() == _value ) {
cerr << " no change." << endl; //cerr << " no change." << endl;
return true; return true;
} }
@ -245,7 +245,7 @@ namespace Cfg {
} }
} }
cerr << " updated" << endl; //cerr << " updated" << endl;
_value = svalue.str(); _value = svalue.str();
_onValueChanged(); _onValueChanged();