[Orxonox-commit 4964] r9633 - code/branches/core6/src/libraries/core/object

landauf at orxonox.net landauf at orxonox.net
Sun Aug 11 11:02:59 CEST 2013


Author: landauf
Date: 2013-08-11 11:02:59 +0200 (Sun, 11 Aug 2013)
New Revision: 9633

Modified:
   code/branches/core6/src/libraries/core/object/ClassFactory.h
Log:
forgot one line in the previous commit

Modified: code/branches/core6/src/libraries/core/object/ClassFactory.h
===================================================================
--- code/branches/core6/src/libraries/core/object/ClassFactory.h	2013-08-11 09:00:43 UTC (rev 9632)
+++ code/branches/core6/src/libraries/core/object/ClassFactory.h	2013-08-11 09:02:59 UTC (rev 9633)
@@ -83,7 +83,7 @@
             */
             inline Identifiable* fabricate(Context* context)
             {
-                return static_cast<OrxonoxClass*>(new T(context));
+                return static_cast<Identifiable*>(new T(context));
             }
     };
 }




More information about the Orxonox-commit mailing list