hash(QString) is now defined by Qt

This commit is contained in:
eelke 2020-04-04 07:34:06 +02:00
parent 23165d77c8
commit d6709a1dea

View file

@ -32,14 +32,14 @@ inline std::string qvarToStdStr(const QVariant &c)
namespace std { namespace std {
template <> // template <>
struct hash<QString> // struct hash<QString>
{ // {
std::size_t operator()(const QString& s) const // std::size_t operator()(const QString& s) const
{ // {
return qHash(s); // return qHash(s);
} // }
}; // };
} }