diff --git a/uppsrc/Core/CoWork.h b/uppsrc/Core/CoWork.h index 030f1712d..0450f381e 100644 --- a/uppsrc/Core/CoWork.h +++ b/uppsrc/Core/CoWork.h @@ -33,12 +33,12 @@ class CoWork : NoCopy { public: void Do(Callback cb); #ifdef CPP_11 - void Do(std::function lambda) { Do(Callback(lambda(fn))); } + void Do(std::function fn) { Do(Callback(lambda(fn))); } #endif CoWork& operator&(Callback cb) { Do(cb); return *this; } #ifdef CPP_11 - CoWork& operator&(std::function lambda) { Do(Callback(lambda(fn))); return *this; } + CoWork& operator&(std::function fn) { Do(Callback(lambda(fn))); return *this; } #endif void Finish();