Fix a MSVC compiler warning
This commit is contained in:
parent
7d403bcd69
commit
9017f50230
1 changed files with 5 additions and 0 deletions
|
@ -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; }
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue