Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9652 for code/branches/core6


Ignore:
Timestamp:
Aug 16, 2013, 9:38:00 PM (11 years ago)
Author:
landauf
Message:

fixed potential issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/src/libraries/core/class/IdentifierManager.cc

    r9651 r9652  
    104104
    105105        std::set<Identifier*> initializedIdentifiers;
     106
     107        // ensure root context exists before starting to create objects. if the root context is dynamically created while creating the class hierarchy, we
     108        // would mistakenly assume the class of the currently created object inherits from Context
     109        Context::getRootContext();
    106110
    107111        // iterate over all identifiers, create one instance of each class and initialize the identifiers
Note: See TracChangeset for help on using the changeset viewer.