Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 18, 2015, 1:07:08 PM (9 years ago)
Author:
landauf
Message:

use lists instead of sets to store parent identifiers. this allows to store the exact order of initialization of parent classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/core/class/IdentifierManager.h

    r10370 r10372  
    3838
    3939#include <map>
    40 #include <set>
     40#include <list>
    4141#include <string>
    4242
     
    111111            /// Used while creating the object hierarchy to keep track of the identifiers of a newly created object (and all other objects that get created as
    112112            /// a consequence of this, e.g. nested member objects).
    113             std::map<Identifiable*, std::set<const Identifier*> > identifierTraceOfNewObject_;
     113            std::map<Identifiable*, std::list<const Identifier*> > identifierTraceOfNewObject_;
    114114            Identifier* recordTraceForIdentifier_; //!< The identifier for which we want to record the trace of identifiers during object creation. If null, no trace is recorded.
    115115    };
Note: See TracChangeset for help on using the changeset viewer.