From 7b4d9859006ac8de87d70edd18278b3b9dfa065a Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 29 Dec 2019 06:11:51 +0100 Subject: fix std::hash Fixes #1015 --- compat/qhash.hpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'compat') diff --git a/compat/qhash.hpp b/compat/qhash.hpp index c2be4fc5..e38ee056 100644 --- a/compat/qhash.hpp +++ b/compat/qhash.hpp @@ -1,14 +1,6 @@ #pragma once +#include #include #include -namespace std { -template<> struct hash -{ - unsigned operator()(const QString& value) const - { - return qHash(value); - } -}; -} -- cgit v1.2.3