From 2c81be72eef5363736cf1892646c74a3311ee4c1 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Sun, 22 May 2022 17:03:17 -0400 Subject: add upstream 11.21 --- 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 1571c917..a7ce2eb5 100644 --- a/wx+/async_task.h +++ b/wx+/async_task.h @@ -84,7 +84,7 @@ public: std::vector> readyTasks; //Reentrancy; access to AsyncTasks::add is not protected! => evaluate outside eraseIf - std::erase_if(tasks_, [&](std::unique_ptr& task) + eraseIf(tasks_, [&](std::unique_ptr& task) { if (task->resultReady()) { -- cgit