Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5770 in orxonox.OLD for trunk/src/lib/lang


Ignore:
Timestamp:
Nov 25, 2005, 12:40:36 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: PNode is now std::list-conform

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/lang/class_list.cc

    r5513 r5770  
    262262          enumBO = iterator->nextElement();
    263263        }
    264         delete iterator;
    265         break;
     264        if (likely(tmp->classID == classID))
     265        {
     266          delete iterator;
     267          break;
     268        }
    266269      }
    267270      tmp = tmp->next;
Note: See TracChangeset for help on using the changeset viewer.