mirror of
https://github.com/Naios/continuable.git
synced 2026-02-08 02:36:40 +08:00
more
This commit is contained in:
parent
cc651dae4d
commit
ef955104cc
@ -52,7 +52,8 @@ namespace detail
|
|||||||
static auto CreateFrom(_FTy&& functional)
|
static auto CreateFrom(_FTy&& functional)
|
||||||
-> Continuable<_ATy...>
|
-> Continuable<_ATy...>
|
||||||
{
|
{
|
||||||
return Continuable<_ATy...>(Callback<Callback<_ATy...>&&>(std::forward<_FTy>(functional)));
|
return Continuable<_ATy...>(
|
||||||
|
typename Continuable<_ATy...>::ForwardFunction(std::forward<_FTy>(functional)));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user