diff --git a/include/Continuable.h b/include/Continuable.h index d1957a4..9081189 100644 --- a/include/Continuable.h +++ b/include/Continuable.h @@ -576,7 +576,8 @@ namespace detail { continuable.invoke([storage](Args&&... args) { - storage->store(std::forward(args)...); + // FIXME + // storage->store(std::forward(args)...); }); } }; diff --git a/test.cpp b/test.cpp index 988cbfc..ed89b7c 100644 --- a/test.cpp +++ b/test.cpp @@ -413,7 +413,7 @@ int main(int /*argc*/, char** /*argv*/) return CastSpellPromise(20); }, [] { - return make_continuable([](Callback>&& callback) + return make_continuable([](Callback*/>&& callback) { callback(true, false, 0.3f/*, std::unique_ptr(new std::string("oh, all work is done!"))*/); });