This commit is contained in:
Naios 2015-07-03 02:28:11 +02:00
parent add21a50f7
commit 775dd10d06
2 changed files with 3 additions and 2 deletions

View File

@ -576,7 +576,8 @@ namespace detail
{ {
continuable.invoke([storage](Args&&... args) continuable.invoke([storage](Args&&... args)
{ {
storage->store<Offset, Args...>(std::forward<Args>(args)...); // FIXME
// storage->store<Offset, Args...>(std::forward<Args>(args)...);
}); });
} }
}; };

View File

@ -413,7 +413,7 @@ int main(int /*argc*/, char** /*argv*/)
return CastSpellPromise(20); return CastSpellPromise(20);
}, },
[] { [] {
return make_continuable([](Callback<bool, bool, double, std::unique_ptr<std::string>>&& callback) return make_continuable([](Callback<bool, bool, double /*, std::unique_ptr<std::string>*/>&& callback)
{ {
callback(true, false, 0.3f/*, std::unique_ptr<std::string>(new std::string("oh, all work is done!"))*/); callback(true, false, 0.3f/*, std::unique_ptr<std::string>(new std::string("oh, all work is done!"))*/);
}); });