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