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;
|
||||
|
||||
private:
|
||||
/// Was the continuable released (invoked or transfered ownership) already?
|
||||
bool _released;
|
||||
|
||||
/// Functional which expects a callback that is inserted from the Continuable
|
||||
/// to chain everything together
|
||||
ForwardFunction _callback_insert;
|
||||
|
||||
bool _released;
|
||||
|
||||
template <typename _CTy>
|
||||
void invoke(_CTy&& callback)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user