From d2465c57897a27aae51912e8a1551e5d6d6fa969 Mon Sep 17 00:00:00 2001 From: Denis Blank Date: Fri, 3 Jul 2015 02:28:11 +0200 Subject: [PATCH] notes --- include/Continuable.h | 3 ++- test.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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!"))*/); });