Fixup this atomic_bool again

Apparently atomic types aren't copy-assignable.
This commit is contained in:
Charles Dang 2018-06-08 19:44:37 +11:00
parent 79adc68ef6
commit 424e0e0ab4

View file

@ -55,7 +55,7 @@ struct invoked_function_data
const std::function<void(void)>& f;
/** Whether execution in the main thread is complete. */
std::atomic_bool finished = false;
std::atomic_bool finished;
/** Stores any exception thrown during the execution of @ref f. */
std::exception_ptr thrown_exception;