Changeset 7164 in orxonox.OLD for trunk/src/lib/lang
- Timestamp:
- Feb 18, 2006, 5:32:35 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/lang/class_list.cc
r7163 r7164 182 182 ClassList* ClassList::getClassList(ClassID classID) 183 183 { 184 std::vector<ClassList>::iterator classIT = std::find (ClassList::classList->begin(), ClassList::classList->end(), classID); 184 std::vector<ClassList>::iterator classIT = 185 std::find (ClassList::classList->begin(), ClassList::classList->end(), classID); 185 186 return (likely(classIT != classList->end()))? &(*classIT) : NULL; 186 187 }
Note: See TracChangeset
for help on using the changeset viewer.