Chatterino
QStringHash.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QHash>
4 #include <QString>
5 
6 namespace std {
7 
8 #if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
9 template <>
10 struct hash<QString> {
11  std::size_t operator()(const QString &s) const
12  {
13  return qHash(s);
14  }
15 };
16 #endif
17 
18 } // namespace std
uint qHash(const QColor &key)
Definition: ColorProvider.hpp:63
Definition: SeventvEventAPISubscription.hpp:67