disabled hash<QString> for Qt 5.14
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
namespace std {
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
|
||||
template <>
|
||||
struct hash<QString> {
|
||||
std::size_t operator()(const QString &s) const
|
||||
@@ -12,5 +13,6 @@ struct hash<QString> {
|
||||
return qHash(s);
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
||||
} // namespace std
|
||||
|
||||
Reference in New Issue
Block a user