[Orxonox-commit 5705] r10365 - code/branches/core7/src/libraries/core/class

landauf at orxonox.net landauf at orxonox.net
Tue Apr 14 22:29:06 CEST 2015


Author: landauf
Date: 2015-04-14 22:29:05 +0200 (Tue, 14 Apr 2015)
New Revision: 10365

Modified:
   code/branches/core7/src/libraries/core/class/IdentifierManager.cc
Log:
fixed tests, added more output

Modified: code/branches/core7/src/libraries/core/class/IdentifierManager.cc
===================================================================
--- code/branches/core7/src/libraries/core/class/IdentifierManager.cc	2015-04-14 20:11:35 UTC (rev 10364)
+++ code/branches/core7/src/libraries/core/class/IdentifierManager.cc	2015-04-14 20:29:05 UTC (rev 10365)
@@ -147,7 +147,7 @@
         }
 
         // only check class hierarchy in dev mode because it's an expensive operation and it requires a developer to fix detected problems anyway.
-        if (Core::getInstance().inDevMode())
+        if (!Core::exists() || Core::getInstance().inDevMode())
             this->verifyClassHierarchy();
 
         this->stopCreatingHierarchy();
@@ -181,6 +181,7 @@
 
             delete temp;
         }
+        orxout(internal_info) << "Class hierarchy matches RTTI" << endl;
 
         size_t numberOfObjects = temporaryContext.getObjectList<Listable>()->size();
         if (numberOfObjects > 0)




More information about the Orxonox-commit mailing list