mirror of
https://github.com/Naios/continuable.git
synced 2025-12-06 16:56:44 +08:00
warning: field '_released' will be initialized after field '_callback_insert'
This commit is contained in:
parent
ceba89c470
commit
574ad570ea
@ -92,12 +92,13 @@ public:
|
|||||||
typedef std::function<void(Callback<_ATy...>&&)> ForwardFunction;
|
typedef std::function<void(Callback<_ATy...>&&)> ForwardFunction;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
/// Was the continuable released (invoked or transfered ownership) already?
|
||||||
|
bool _released;
|
||||||
|
|
||||||
/// Functional which expects a callback that is inserted from the Continuable
|
/// Functional which expects a callback that is inserted from the Continuable
|
||||||
/// to chain everything together
|
/// to chain everything together
|
||||||
ForwardFunction _callback_insert;
|
ForwardFunction _callback_insert;
|
||||||
|
|
||||||
bool _released;
|
|
||||||
|
|
||||||
template <typename _CTy>
|
template <typename _CTy>
|
||||||
void invoke(_CTy&& callback)
|
void invoke(_CTy&& callback)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user