From ae7f2543ecc43e5f46d20be4fcfc7ef62866b65b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik <sthalik@misaki.pl> Date: Thu, 16 Jan 2020 21:07:24 +0100 Subject: compat/qhash: try harder --- compat/qhash.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'compat') diff --git a/compat/qhash.hpp b/compat/qhash.hpp index 507b612e..7d0f27ba 100644 --- a/compat/qhash.hpp +++ b/compat/qhash.hpp @@ -4,8 +4,7 @@ #include <QString> #include <QHashFunctions> -// Qt < 5.14.0 -#ifndef QT_SPECIALIZE_STD_HASH_TO_CALL_QHASH_BY_CREF +#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) namespace std { template<> struct hash<QString> -- cgit v1.2.3