|
From: Lasse Kärkkäi. <tr...@us...> - 2010-06-17 22:40:28
|
Module: performous
Branch: portaudio
Commit: 1f8f046877aef2e6a148b5afe9578e8d20f1bfc9
Author: Lasse Karkkainen <tro...@tr...>
Date: Sun May 30 20:38:29 2010 +0300
Revert the workaround in engine.hh (no longer needed as the bug in clang++ was fixed).
---
game/engine.hh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/game/engine.hh b/game/engine.hh
index a164931..f1c7882 100644
--- a/game/engine.hh
+++ b/game/engine.hh
@@ -54,7 +54,7 @@ class Engine {
size_t player = 0;
for (std::list<Player>::iterator it = m_database.cur.begin(); it != m_database.cur.end(); ++it, ++player) it->m_color = playerColors[player % playerColorsSize];
}
- m_thread.reset(new boost::thread(&Engine::operator(), this));
+ m_thread.reset(new boost::thread(boost::ref(*this)));
}
~Engine() { kill(); }
/// Terminates processing
|