Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 18, 2015, 1:07:08 PM (10 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/IdentifierExternalClassHierarchyTest.cc

    r10360 r10372  
    5858                }
    5959        };
     60
     61        bool contains(const std::list<const Identifier*> identifiers, Identifier* identifier)
     62        {
     63            return std::find(identifiers.begin(), identifiers.end(), identifier) != identifiers.end();
     64        }
    6065
    6166        bool contains(const std::set<const Identifier*> identifiers, Identifier* identifier)
Note: See TracChangeset for help on using the changeset viewer.