This commit is contained in:
Denis Blank 2015-07-03 02:28:11 +02:00 committed by Naios
parent b02045e7e3
commit d2465c5789
2 changed files with 3 additions and 2 deletions

View File

@ -576,7 +576,8 @@ namespace detail
{
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 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!"))*/);
});