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/IdentifierSimpleClassHierarchyTest.cc

    r10360 r10372  
    6363                }
    6464        };
     65
     66        bool contains(const std::list<const Identifier*> identifiers, Identifier* identifier)
     67        {
     68            return std::find(identifiers.begin(), identifiers.end(), identifier) != identifiers.end();
     69        }
    6570
    6671        bool contains(const std::set<const Identifier*> identifiers, Identifier* identifier)
Note: See TracChangeset for help on using the changeset viewer.