Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 4, 2014, 2:20:06 PM (11 years ago)
Author:
landauf
Message:

return reference instead of copy. this also fixes a crash in SpaceRaceController.cc:189 because begin and end iterator were not from the same container

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/gametypes/RaceCheckPoint.h

    r9964 r9971  
    6262            Vector3 getNextCheckpointsAsVector3();
    6363
    64             std::set<int> getNextCheckpoints()
     64            const std::set<int>& getNextCheckpoints()
    6565            {
    6666                return nextCheckpoints_;
Note: See TracChangeset for help on using the changeset viewer.