disabled hash<QString> for Qt 5.14

This commit is contained in:
fourtf 2019-10-03 10:07:14 +02:00
parent e31371fdf5
commit 033c97e85d

View file

@ -5,6 +5,7 @@
namespace std { namespace std {
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
template <> template <>
struct hash<QString> { struct hash<QString> {
std::size_t operator()(const QString &s) const std::size_t operator()(const QString &s) const
@ -12,5 +13,6 @@ struct hash<QString> {
return qHash(s); return qHash(s);
} }
}; };
#endif
} // namespace std } // namespace std