- Timestamp:
- Apr 18, 2015, 1:07:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/test/core/class/IdentifierClassHierarchyTest.cc
r10360 r10372 19 19 namespace 20 20 { 21 class BaseInterface1 : public OrxonoxInterface21 class BaseInterface1 : virtual public OrxonoxInterface 22 22 { 23 23 public: … … 30 30 }; 31 31 32 class BaseInterface2 : public OrxonoxInterface32 class BaseInterface2 : virtual public OrxonoxInterface 33 33 { 34 34 public: … … 155 155 }; 156 156 157 bool contains(const std::list<const Identifier*> identifiers, Identifier* identifier) 158 { 159 return std::find(identifiers.begin(), identifiers.end(), identifier) != identifiers.end(); 160 } 161 157 162 bool contains(const std::set<const Identifier*> identifiers, Identifier* identifier) 158 163 {
Note: See TracChangeset
for help on using the changeset viewer.