[Orxonox-commit 1490] r6208 - code/branches/presentation2/src/orxonox/sound

dafrick at orxonox.net dafrick at orxonox.net
Wed Dec 2 17:43:54 CET 2009


Author: dafrick
Date: 2009-12-02 17:43:53 +0100 (Wed, 02 Dec 2009)
New Revision: 6208

Modified:
   code/branches/presentation2/src/orxonox/sound/SoundManager.cc
Log:
Small error in SoundManager. Compiles now.

Modified: code/branches/presentation2/src/orxonox/sound/SoundManager.cc
===================================================================
--- code/branches/presentation2/src/orxonox/sound/SoundManager.cc	2009-12-02 16:40:13 UTC (rev 6207)
+++ code/branches/presentation2/src/orxonox/sound/SoundManager.cc	2009-12-02 16:43:53 UTC (rev 6208)
@@ -491,7 +491,7 @@
 
     void SoundManager::removeBuffer(shared_ptr<ResourceInfo> fileInfo)
     {
-        std::map<std::string, weak_ptr<SoundBuffer> >::const_iterator it
+        std::map<std::string, weak_ptr<SoundBuffer> >::iterator it
             = this->soundBuffers_.find(fileInfo->group + '/' + fileInfo->filename);
         if (it == this->soundBuffers_.end())
             this->soundBuffers_.erase(it);




More information about the Orxonox-commit mailing list