warning: field '_released' will be initialized after field '_callback_insert'

This commit is contained in:
Naios 2015-07-21 18:33:10 +02:00
parent e06e511711
commit 7b4831f5b2

View File

@ -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)
{