Eliminated lambda, undo debug compialtion changes

This commit is contained in:
Peter Thoman committed 2013-05-01 16:06:54 +02:00
1 parent c7399857e3
commit c75510b304
2 files changed
+23 -2

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
///////////////////////////// WorkerThread
WorkerThread::WorkerThread() : active(true), started(false) {
thread = new std::thread([&]() { WorkFunc(); });
thread = new std::thread(std::bind(&WorkerThread::WorkFunc, this));
doneMutex.lock();
while(!started) { };
}