From 03efe856012a55165542a3ac5c9055c25723f5e8 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Sun, 26 Jun 2022 11:59:57 -0400 Subject: add upstream 11.22 --- wx+/async_task.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wx+/async_task.h') diff --git a/wx+/async_task.h b/wx+/async_task.h index a7ce2eb5..5a3e7caa 100644 --- a/wx+/async_task.h +++ b/wx+/async_task.h @@ -114,7 +114,8 @@ private: class AsyncGuiQueue : private wxEvtHandler { public: - AsyncGuiQueue(int pollingMs = 50) : pollingMs_(pollingMs) { timer_.Bind(wxEVT_TIMER, [this](wxTimerEvent& event) { onTimerEvent(event); }); } + explicit AsyncGuiQueue(int pollingMs = 50) : + pollingMs_(pollingMs) { timer_.Bind(wxEVT_TIMER, [this](wxTimerEvent& event) { onTimerEvent(event); }); } template void processAsync(Fun&& evalAsync, Fun2&& evalOnGui) -- cgit