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/test/core/class/IdentifierNestedClassHierarchyTest.cc

    r10363 r10372  
    121121        };
    122122
     123        bool contains(const std::list<const Identifier*> identifiers, Identifier* identifier)
     124        {
     125            return std::find(identifiers.begin(), identifiers.end(), identifier) != identifiers.end();
     126        }
     127
    123128        bool contains(const std::set<const Identifier*> identifiers, Identifier* identifier)
    124129        {
Note: See TracChangeset for help on using the changeset viewer.