diff --git a/uppsrc/Core/CoWork.h b/uppsrc/Core/CoWork.h index cffa24d84..5cb4d35ec 100644 --- a/uppsrc/Core/CoWork.h +++ b/uppsrc/Core/CoWork.h @@ -46,10 +46,8 @@ public: public: void Do(Function&& fn); - void Do(const Callback& cb) { Do(Function(clone(cb))); } void Do(const Function& fn) { Do(clone(fn)); } - CoWork& operator&(const Callback& cb) { Do(cb); return *this; } CoWork& operator&(const Function& fn) { Do(fn); return *this; } CoWork& operator&(Function&& fn) { Do(pick(fn)); return *this; }