From f63e3ff1add777b08301afb0c20b6a72ed461152 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sun, 12 Jan 2020 12:34:12 +0200 Subject: [PATCH] Fix build. --HG-- branch : develop --- src/libs/vmisc/def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vmisc/def.h b/src/libs/vmisc/def.h index 642113056..490134ded 100644 --- a/src/libs/vmisc/def.h +++ b/src/libs/vmisc/def.h @@ -371,7 +371,7 @@ inline const T& ConstFirst (const Cont &container) } template -inline const T& ConstFirst (const C &container) +inline const auto& ConstFirst (const C &container) { #if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) return container.constFirst();