mirror of
https://github.com/Naios/continuable.git
synced 2025-12-07 17:26:47 +08:00
notes
This commit is contained in:
parent
b02045e7e3
commit
d2465c5789
@ -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)...);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
2
test.cpp
2
test.cpp
@ -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!"))*/);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user