Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 12, 2015, 11:07:14 PM (9 years ago)
Author:
landauf
Message:

use static identifier initializer to store the inheritance definition of abstract classes. this prevents that identifiers are used (via Class(Name)) before they are properly initialized.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/orxonox/gamestates/GSLevel.cc

    r10347 r10362  
    252252    ///////////////////////////////////////////////////////////////////////////
    253253
    254     RegisterAbstractClass(GSLevelMemento).inheritsFrom(Class(OrxonoxInterface));
     254    RegisterAbstractClass(GSLevelMemento).inheritsFrom<OrxonoxInterface>();
    255255
    256256    GSLevelMemento::GSLevelMemento()
Note: See TracChangeset for help on using the changeset viewer.