diff options
author | B. Stack <bgstack15@gmail.com> | 2022-06-26 16:00:37 +0000 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-06-26 16:00:37 +0000 |
commit | 2a026bc7d76875b88700bebc7c5a801fef881bfd (patch) | |
tree | f820b53379f3d14e103e2663e8b0ecd38d1b2105 /wx+/async_task.h | |
parent | Merge branch 'b11.21' into 'master' (diff) | |
parent | add upstream 11.22 (diff) | |
download | FreeFileSync-2a026bc7d76875b88700bebc7c5a801fef881bfd.tar.gz FreeFileSync-2a026bc7d76875b88700bebc7c5a801fef881bfd.tar.bz2 FreeFileSync-2a026bc7d76875b88700bebc7c5a801fef881bfd.zip |
Merge branch '11.22' into 'master'11.22
add upstream 11.22
See merge request opensource-tracking/FreeFileSync!45
Diffstat (limited to 'wx+/async_task.h')
-rw-r--r-- | wx+/async_task.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <class Fun, class Fun2> void processAsync(Fun&& evalAsync, Fun2&& evalOnGui) |