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();
|
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();
|
||||||
|
|
Loading…
Reference in New Issue