From fde755414529f2d700317063bbf55242aa24dde0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 17 Jan 2020 14:07:05 +0100 Subject: maybe fix qt 5.13 --- compat/qhash.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'compat/qhash.hpp') diff --git a/compat/qhash.hpp b/compat/qhash.hpp index 7d0f27ba..b92e4e55 100644 --- a/compat/qhash.hpp +++ b/compat/qhash.hpp @@ -6,10 +6,12 @@ #if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) +#include + namespace std { template<> struct hash { - unsigned operator()(const QString& value) const + std::size_t operator()(const QString& value) const noexcept { return qHash(value); } -- cgit v1.2.3