[Orxonox-commit 5918] r10577 - code/branches/core7/src/libraries/core

landauf at orxonox.net landauf at orxonox.net
Wed Sep 9 15:55:26 CEST 2015


Author: landauf
Date: 2015-09-09 15:55:26 +0200 (Wed, 09 Sep 2015)
New Revision: 10577

Modified:
   code/branches/core7/src/libraries/core/Loader.cc
Log:
no need to store the namespace again, this is already done in the namespace's constructor

Modified: code/branches/core7/src/libraries/core/Loader.cc
===================================================================
--- code/branches/core7/src/libraries/core/Loader.cc	2015-09-09 12:15:46 UTC (rev 10576)
+++ code/branches/core7/src/libraries/core/Loader.cc	2015-09-09 13:55:26 UTC (rev 10577)
@@ -132,7 +132,6 @@
             Namespace* rootNamespace = new Namespace(Context::getRootContext());
             rootNamespace->setLoaderIndentation("    ");
             rootNamespace->setFile(file);
-            rootNamespace->setNamespace(rootNamespace);
             rootNamespace->setRoot(true);
             rootNamespace->XMLPort(rootElement, XMLPort::LoadObject);
 




More information about the Orxonox-commit mailing list