diff options
author | B Stack <bgstack15@gmail.com> | 2019-02-10 16:47:23 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-02-10 16:47:23 -0500 |
commit | a48439992d4b1c896dd0beaff91d0a14361032b9 (patch) | |
tree | 475a67b0b138f2b1cd5f02eaab8e413f7eee62c6 /zen/thread.h | |
parent | Merge branch '10.8' into 'master' (diff) | |
download | FreeFileSync-a48439992d4b1c896dd0beaff91d0a14361032b9.tar.gz FreeFileSync-a48439992d4b1c896dd0beaff91d0a14361032b9.tar.bz2 FreeFileSync-a48439992d4b1c896dd0beaff91d0a14361032b9.zip |
10.9
Diffstat (limited to 'zen/thread.h')
-rw-r--r--[-rwxr-xr-x] | zen/thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/thread.h b/zen/thread.h index 5e298ba1..52b85d7f 100755..100644 --- a/zen/thread.h +++ b/zen/thread.h @@ -186,7 +186,7 @@ public: std::future<void> allDone = promiseDone->get_future(); notifyWhenDone([promiseDone] { promiseDone->set_value(); }); //std::function doesn't support construction involving move-only types! - //use reference? => not guaranteed safe, e.g. promise object theoretically might be accessed inside set_value() after future gets signalled + //use reference? => potential lifetime issue, e.g. promise object theoretically might be accessed inside set_value() after future gets signalled allDone.get(); } |