summaryrefslogtreecommitdiffhomepage
path: root/compat/qhash.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2020-01-17 17:14:32 +0100
committerStanislaw Halik <sthalik@misaki.pl>2020-01-17 17:14:32 +0100
commit5c655ccdba3053b78c741eaa58348998614c937b (patch)
treef609f77cfa2a16ee037a072198db861a5037b479 /compat/qhash.hpp
parent216a24dd55996f8ea444a0afd4a72f076773eedd (diff)
maybe fix build
Diffstat (limited to 'compat/qhash.hpp')
-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