From: mfranz Date: Thu, 12 Oct 2006 22:12:09 +0000 (+0000) Subject: cerr don't belong in CVS X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cc3ad6117594a9fc1bfba8726c1127d9863f8c20;p=flightgear.git cerr don't belong in CVS use SG_LOG! use SG_LOG! use SG_LOG! use SG_LOG! use SG_LOG! use SG_LOG! use SG_LOG! use SG_LOG! use SG_LOG! use SG_LOG! use SG_LOG! use SG_LOG! --- diff --git a/src/AIModel/AIManager.cxx b/src/AIModel/AIManager.cxx index 130ed2cec..bdf9f5b36 100644 --- a/src/AIModel/AIManager.cxx +++ b/src/AIModel/AIManager.cxx @@ -262,24 +262,24 @@ FGAIManager::loadScenarioFile(const std::string& filename) ssgBranch * FGAIManager::getModel(const string& path) { ModelVecIterator i = loadedModels.begin(); - cerr << "Reference count summary " << endl; + //cerr << "Reference count summary " << endl; int count = 0; while (i != loadedModels.end()) { count += i->getNumRefs() -1; - cerr << "Model " << i->getPath() << " has reference count of " << i->getNumRefs() << " "; + //cerr << "Model " << i->getPath() << " has reference count of " << i->getNumRefs() << " "; if (i->getNumRefs() == 1) { i = loadedModels.erase(i); - cerr << "[ Deleted ]" << endl; + //cerr << "[ Deleted ]" << endl; } else { i++; - cerr << endl; + //cerr << endl; } } - cerr << "Reference summary end : " << count << "models allocated" << endl; + //cerr << "Reference summary end : " << count << "models allocated" << endl; i = loadedModels.begin(); while (i != loadedModels.end())