Fix a MSVC compiler warning

This commit is contained in:
Jyrki Vesterinen 2016-12-31 11:37:37 +02:00
parent 7d403bcd69
commit 9017f50230

View file

@ -42,6 +42,11 @@ namespace
bool finished;
const std::function<void(void)>& f;
invoked_function_data(bool finished_, const std::function<void(void)>& func)
: finished(finished_)
, f(func)
{}
void call() { f(); finished = true; }
};
}