From 784b40b4974533742c6607b3f7281c6e998a5bb3 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 17 Jan 2020 14:17:12 +0100 Subject: try fix build --- compat/qhash.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'compat/qhash.hpp') diff --git a/compat/qhash.hpp b/compat/qhash.hpp index b92e4e55..ae7ada6a 100644 --- a/compat/qhash.hpp +++ b/compat/qhash.hpp @@ -1,5 +1,7 @@ #pragma once +#include + #include #include #include @@ -11,6 +13,9 @@ namespace std { template<> struct hash { + using argument_type = QString; + using result_type = std::size_t; + std::size_t operator()(const QString& value) const noexcept { return qHash(value); -- cgit v1.2.3