diff options
Diffstat (limited to 'compat/run-in-thread.hpp')
-rw-r--r-- | compat/run-in-thread.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/run-in-thread.hpp b/compat/run-in-thread.hpp index b425532e..4631fb0c 100644 --- a/compat/run-in-thread.hpp +++ b/compat/run-in-thread.hpp @@ -93,7 +93,7 @@ run_in_thread_sync(QObject* obj, F&& fun) QObject::connect(&src, &QObject::destroyed, obj, - [&]() { + [&] { traits::assign(ret, traits::call(fun)); sem.notify(); }, |