Fix build.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2020-01-12 12:34:12 +02:00
parent 2a95c41bb7
commit f63e3ff1ad

View File

@ -371,7 +371,7 @@ inline const T& ConstFirst (const Cont<T> &container)
} }
template <typename T, typename C> template <typename T, typename C>
inline const T& ConstFirst (const C &container) inline const auto& ConstFirst (const C &container)
{ {
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) #if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
return container.constFirst(); return container.constFirst();