summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--compat/qhash.hpp16
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