mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
Try to fix compilation for gcc 4.6
This commit is contained in:
@@ -59,8 +59,10 @@ void SoundManager::terminate()
|
||||
{
|
||||
ensureContext();
|
||||
|
||||
for(auto it = m_streamFiles.begin(); it != m_streamFiles.end();++it)
|
||||
it->second.wait();
|
||||
for(auto it = m_streamFiles.begin(); it != m_streamFiles.end();++it) {
|
||||
auto& future = it->second;
|
||||
future.wait();
|
||||
}
|
||||
m_streamFiles.clear();
|
||||
|
||||
m_sources.clear();
|
||||
|
Reference in New Issue
Block a user