Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 25, 2015, 10:36:28 PM (9 years ago)
Author:
landauf
Message:

avoid dependency on IdentifierManager for as long as possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/core/class/Identifier.cc

    r10482 r10483  
    5353    */
    5454    Identifier::Identifier(const std::string& name, Factory* factory, bool bLoadable)
    55         : classID_(IdentifierManager::getInstance().getUniqueClassId())
    5655    {
    5756        orxout(verbose, context::identifier) << "Create identifier for " << name << endl;
    5857
     58        static unsigned int classIDCounter = 0;
     59
     60        this->classID_ = classIDCounter++;
    5961        this->name_ = name;
    6062        this->factory_ = factory;
Note: See TracChangeset for help on using the changeset viewer.