]> git.mxchange.org Git - flightgear.git/commitdiff
cerr don't belong in CVS
authormfranz <mfranz>
Thu, 12 Oct 2006 22:12:09 +0000 (22:12 +0000)
committermfranz <mfranz>
Thu, 12 Oct 2006 22:12:09 +0000 (22:12 +0000)
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!

src/AIModel/AIManager.cxx

index 130ed2cec40cd5ec32da9dfa096f91dbd2815a26..bdf9f5b36dc1bb852aba2cf963b57bca8b47fedb 100644 (file)
@@ -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())