diff options
author | Ries van Twisk <github@rvt.dds.nl> | 2019-12-29 10:13:57 +0100 |
---|---|---|
committer | Ries van Twisk <github@rvt.dds.nl> | 2019-12-29 10:13:57 +0100 |
commit | 28c06bef4392108fc219c0accefe5a7db7c9f065 (patch) | |
tree | 92dfeb3efc55cb7353eff8d5e1266ecfeba5ef76 /compat | |
parent | fb47b84e86def4b5b6354f4a3a46a2cf4aeb2291 (diff) |
Merge conflict fix
Diffstat (limited to 'compat')
-rw-r--r-- | compat/qhash.hpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/compat/qhash.hpp b/compat/qhash.hpp index 72c5e7cd..478f0d7d 100644 --- a/compat/qhash.hpp +++ b/compat/qhash.hpp @@ -1,17 +1,5 @@ #pragma once -#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0)) -#include <QHash> -#include <QString> #include <functional> - -namespace std { - template<> struct hash<QString> { - size_t operator()(const QString& s) const noexcept { - return (size_t) qHash(s); - } - }; -} -#else -#include <QHashFunctions> -#endif
\ No newline at end of file +#include <QString> +#include <QHashFunctions>
\ No newline at end of file |