From ed50041589974d31296cb30dc1897f7fba6336c2 Mon Sep 17 00:00:00 2001 From: B Stack Date: Wed, 20 Nov 2019 08:36:44 -0500 Subject: add upstream 10.18 --- wx+/async_task.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wx+/async_task.h') 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> readyTasks; //Reentrancy; access to AsyncTasks::add is not protected! => evaluate outside eraseIf - eraseIf(tasks_, [&](std::unique_ptr& task) + std::erase_if(tasks_, [&](std::unique_ptr& task) { if (task->resultReady()) { -- cgit