From 5da4c7bbb660e044800193c341ee3337acc6ef66 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 25 Jan 2018 14:14:35 +0100 Subject: compat: fix more std::forward misuse --- compat/run-in-thread.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compat') diff --git a/compat/run-in-thread.hpp b/compat/run-in-thread.hpp index c2243fc3..b425532e 100644 --- a/compat/run-in-thread.hpp +++ b/compat/run-in-thread.hpp @@ -55,11 +55,11 @@ struct run_in_thread_traits template auto never_inline run_in_thread_sync(QObject* obj, F&& fun) - -> typename qt_impl_detail::run_in_thread_traits(fun)())>::ret_type + -> typename qt_impl_detail::run_in_thread_traits::ret_type { using lock_guard = std::unique_lock; - using traits = qt_impl_detail::run_in_thread_traits(fun)())>; + using traits = qt_impl_detail::run_in_thread_traits; typename traits::type ret; -- cgit v1.2.3