diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2020-01-17 17:14:32 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2020-01-17 17:14:32 +0100 |
commit | 5c655ccdba3053b78c741eaa58348998614c937b (patch) | |
tree | f609f77cfa2a16ee037a072198db861a5037b479 /compat | |
parent | 216a24dd55996f8ea444a0afd4a72f076773eedd (diff) |
maybe fix build
Diffstat (limited to 'compat')
-rw-r--r-- | compat/qhash.hpp | 4 |
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 |