summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
Diffstat (limited to 'compat')
-rw-r--r--compat/qhash.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/compat/qhash.hpp b/compat/qhash.hpp
index 83b154f4..5286e97e 100644
--- a/compat/qhash.hpp
+++ b/compat/qhash.hpp
@@ -18,11 +18,9 @@ template<> struct hash<QString>
std::size_t operator()(const QString& value) const noexcept
{
- return qHash(value);
+ return (std::size_t) qHash(value);
}
};
-
-template class hash<QString>;
}
#endif