summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
Diffstat (limited to 'compat')
-rw-r--r--compat/qhash.hpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/compat/qhash.hpp b/compat/qhash.hpp
index c2be4fc5..e38ee056 100644
--- a/compat/qhash.hpp
+++ b/compat/qhash.hpp
@@ -1,14 +1,6 @@
#pragma once
+#include <functional>
#include <QString>
#include <QHashFunctions>
-namespace std {
-template<> struct hash<QString>
-{
- unsigned operator()(const QString& value) const
- {
- return qHash(value);
- }
-};
-}