mirror of
https://github.com/edubart/otclient.git
synced 2025-05-05 03:59:21 +02:00
Try to fix compilation for gcc 4.6
This commit is contained in:
parent
489688e9fb
commit
69f72b9c86
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user