summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
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>