diff options
Diffstat (limited to 'src/concurrent/qtconcurrentfunctionwrappers.h')
-rw-r--r-- | src/concurrent/qtconcurrentfunctionwrappers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/concurrent/qtconcurrentfunctionwrappers.h b/src/concurrent/qtconcurrentfunctionwrappers.h index bb78ea99537..be954167598 100644 --- a/src/concurrent/qtconcurrentfunctionwrappers.h +++ b/src/concurrent/qtconcurrentfunctionwrappers.h @@ -77,7 +77,7 @@ struct Argument template <class Sequence> struct Argument<Sequence, typename std::enable_if<IsIterableValue<Sequence>>::type> { - using Type = std::decay_t<decltype(*std::begin(std::declval<Sequence>()))>; + using Type = std::decay_t<decltype(*std::declval<Sequence>().begin())>; }; template <class Iterator> |