mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
disabled hash<QString> for Qt 5.14
This commit is contained in:
parent
e31371fdf5
commit
033c97e85d
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue