mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
15 lines
227 B
C++
15 lines
227 B
C++
|
#pragma once
|
||
|
|
||
|
#include <QHash>
|
||
|
#include <QString>
|
||
|
|
||
|
namespace std {
|
||
|
template <>
|
||
|
struct hash<QString> {
|
||
|
std::size_t operator()(const QString &s) const
|
||
|
{
|
||
|
return qHash(s);
|
||
|
}
|
||
|
};
|
||
|
} // namespace std
|