From 5c655ccdba3053b78c741eaa58348998614c937b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 17 Jan 2020 17:14:32 +0100 Subject: maybe fix build --- compat/qhash.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'compat') 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 std::size_t operator()(const QString& value) const noexcept { - return qHash(value); + return (std::size_t) qHash(value); } }; - -template class hash; } #endif -- cgit v1.2.3