diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2020-01-16 21:07:24 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2020-01-16 21:07:24 +0100 |
commit | ae7f2543ecc43e5f46d20be4fcfc7ef62866b65b (patch) | |
tree | ca7579cb5edea533c595b7411ef13f5a31b88b8c | |
parent | 9cf60f9691bb75ab6f351f44bd0fb42939c1b0a8 (diff) |
compat/qhash: try harder
-rw-r--r-- | compat/qhash.hpp | 3 |
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> |