Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7211 in orxonox.OLD for branches/std/src/util/track


Ignore:
Timestamp:
Mar 10, 2006, 4:52:21 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: new SubString class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/std/src/util/track/track_manager.cc

    r7193 r7211  
    884884  for(unsigned int i = 0; i < strings.getCount(); i++)
    885885    {
    886       TrackElement* tmpElem = this->firstTrackElem->findByName(strings.getString(i));
     886      TrackElement* tmpElem = this->firstTrackElem->findByName(strings.getString(i).c_str());
    887887      if (tmpElem != NULL)
    888888        trackIDs[i] = tmpElem->ID;
    889889      else
    890890      {
    891         PRINTF(1)("Trying to join a Track, of which the name does not exist: %s\n", strings.getString(i));
     891        PRINTF(1)("Trying to join a Track, of which the name does not exist: %s\n", strings.getString(i).c_str());
    892892        trackIDs[i] = -1;
    893893      }
Note: See TracChangeset for help on using the changeset viewer.