From 59412b533ec392e5e183378b9851c42e0994cbd3 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 25 May 2004 04:28:25 +0000 Subject: [PATCH] const fix --- stepmania/src/RageSoundManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/RageSoundManager.cpp b/stepmania/src/RageSoundManager.cpp index f8002b034a..1620b32e5e 100644 --- a/stepmania/src/RageSoundManager.cpp +++ b/stepmania/src/RageSoundManager.cpp @@ -308,12 +308,12 @@ void RageSoundManager::GetCopies( RageSound &snd, vector &snds, boo g_DeletionMutex.Lock(); g_SoundManMutex.Lock(); /* lock for access to all_sounds */ - set sounds = all_sounds; + const set sounds = all_sounds; g_SoundManMutex.Unlock(); /* finished with all_sounds */ RageSound *parent = snd.GetOriginal(); - set::iterator it; + set::const_iterator it; for( it = sounds.begin(); it != sounds.end(); ++it ) { CHECKPOINT_M( ssprintf("%p %p", *it, parent) );