From d6709a1dea89cb8ac45179192f90c50e281a896f Mon Sep 17 00:00:00 2001 From: eelke Date: Sat, 4 Apr 2020 07:34:06 +0200 Subject: [PATCH] hash(QString) is now defined by Qt --- pglablib/util.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pglablib/util.h b/pglablib/util.h index fd9f510..d615288 100644 --- a/pglablib/util.h +++ b/pglablib/util.h @@ -32,14 +32,14 @@ inline std::string qvarToStdStr(const QVariant &c) namespace std { - template <> - struct hash - { - std::size_t operator()(const QString& s) const - { - return qHash(s); - } - }; +// template <> +// struct hash +// { +// std::size_t operator()(const QString& s) const +// { +// return qHash(s); +// } +// }; }