diff options
author | B Stack <bgstack15@gmail.com> | 2019-11-20 08:36:44 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-11-20 08:36:44 -0500 |
commit | ed50041589974d31296cb30dc1897f7fba6336c2 (patch) | |
tree | e2c5c7b1f98e64011b1ee8ca4e9bb9157510dfe7 /wx+/async_task.h | |
parent | Merge branch '10.17' into 'master' (diff) | |
download | FreeFileSync-ed50041589974d31296cb30dc1897f7fba6336c2.tar.gz FreeFileSync-ed50041589974d31296cb30dc1897f7fba6336c2.tar.bz2 FreeFileSync-ed50041589974d31296cb30dc1897f7fba6336c2.zip |
add upstream 10.18
Diffstat (limited to 'wx+/async_task.h')
-rw-r--r-- | wx+/async_task.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wx+/async_task.h b/wx+/async_task.h index 04eac61c..1599c4d7 100644 --- a/wx+/async_task.h +++ b/wx+/async_task.h @@ -85,7 +85,7 @@ public: std::vector<std::unique_ptr<Task>> readyTasks; //Reentrancy; access to AsyncTasks::add is not protected! => evaluate outside eraseIf - eraseIf(tasks_, [&](std::unique_ptr<Task>& task) + std::erase_if(tasks_, [&](std::unique_ptr<Task>& task) { if (task->resultReady()) { |