From c31cd9d287d927f685e96383137f87e417127c6d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 21 May 2004 05:40:52 +0000 Subject: [PATCH] cleanup --- stepmania/src/Profile.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stepmania/src/Profile.cpp b/stepmania/src/Profile.cpp index b214f7610a..a9882a0c21 100644 --- a/stepmania/src/Profile.cpp +++ b/stepmania/src/Profile.cpp @@ -242,9 +242,9 @@ int Profile::GetActualSongDancePointsForStepsType( StepsType st ) const { for( std::map::const_iterator i = m_SongHighScores.begin(); i != m_SongHighScores.end(); - i++ ) + ++i ) { - SongID id = i->first; + const SongID &id = i->first; Song* pSong = id.ToSong(); // If the Song isn't loaded on the current machine, then we can't @@ -259,9 +259,9 @@ int Profile::GetActualSongDancePointsForStepsType( StepsType st ) const for( std::map::const_iterator j = hsfas.m_StepsHighScores.begin(); j != hsfas.m_StepsHighScores.end(); - j++ ) + ++j ) { - StepsID id = j->first; + const StepsID &id = j->first; Steps* pSteps = id.ToSteps( pSong, true ); // If the Steps isn't loaded on the current machine, then we can't