diff --git a/include/Continuable.h b/include/Continuable.h index b517d28..8143f7e 100644 --- a/include/Continuable.h +++ b/include/Continuable.h @@ -92,12 +92,13 @@ public: typedef std::function&&)> ForwardFunction; private: + /// Was the continuable released (invoked or transfered ownership) already? + bool _released; + /// Functional which expects a callback that is inserted from the Continuable /// to chain everything together ForwardFunction _callback_insert; - bool _released; - template void invoke(_CTy&& callback) {