summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2020-01-16 21:07:24 +0100
committerStanislaw Halik <sthalik@misaki.pl>2020-01-16 21:07:24 +0100
commitae7f2543ecc43e5f46d20be4fcfc7ef62866b65b (patch)
treeca7579cb5edea533c595b7411ef13f5a31b88b8c /compat
parent9cf60f9691bb75ab6f351f44bd0fb42939c1b0a8 (diff)
compat/qhash: try harder
Diffstat (limited to 'compat')
-rw-r--r--compat/qhash.hpp3
1 files changed, 1 insertions, 2 deletions
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>