Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5115 in orxonox.OLD for trunk/src/subprojects


Ignore:
Timestamp:
Aug 24, 2005, 1:30:13 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: reimplemented the list functions, as i did before in revision 5110.
This time, i looked out for the bugs, and i think i found one

@patrick: i know, that you do not want to code at the moment… :/ → see mail

Location:
trunk/src/subprojects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/subprojects/benchmark.cc

    r5111 r5115  
    352352      /*give list out */
    353353      tIterator<char>* iterator = list->getIterator();
    354       name = iterator->nextElement();
     354      name = iterator->firstElement();
    355355      printf("  List Elements: \t\t");
    356356      while( name != NULL)
     
    373373      /*give list out */
    374374      iterator = list->getIterator();
    375       name = iterator->nextElement();
     375      name = iterator->firstElement();
    376376      printf("  List Elements: \t\t");
    377377      while( name != NULL)
     
    433433      /*give list out */
    434434      iterator = list->getIterator();
    435       name = iterator->nextElement();
     435      name = iterator->firstElement();
    436436      printf("  List Elements: \t\t");
    437437      while( name != NULL)
  • trunk/src/subprojects/collision_detection/collision_detection.cc

    r5111 r5115  
    235235
    236236  tIterator<WorldEntity>* iterator = entityList->getIterator();
    237   WorldEntity* entity = iterator->nextElement();
     237  WorldEntity* entity = iterator->firstElement();
    238238  while( entity != NULL)
    239239  {
     
    251251
    252252  tIterator<WorldEntity>* iterator = entityList->getIterator();
    253   WorldEntity* entity = iterator->nextElement();
     253  WorldEntity* entity = iterator->firstElement();
    254254  while( entity != NULL)
    255255  {
Note: See TracChangeset for help on using the changeset viewer.