Move C++11 functions to std namespace.

This commit is contained in:
Sacha committed 2013-06-02 22:27:37 +10:00
1 parent cfdca995b6
commit f825a07650
4 files changed
+20 -20

No files matched your search

+2 -2
View File
@@ -2,10 +2,10 @@
#include "../Core/Config.h"
shared_ptr<ThreadPool> GlobalThreadPool::pool;
std::shared_ptr<ThreadPool> GlobalThreadPool::pool;
bool GlobalThreadPool::initialized = false;
void GlobalThreadPool::Loop(const function<void(int,int)>& loop, int lower, int upper) {
void GlobalThreadPool::Loop(const std::function<void(int,int)>& loop, int lower, int upper) {
Inititialize();
pool->ParallelLoop(loop, lower, upper);
}