summaryrefslogtreecommitdiffstats
path: root/utils.h
blob: d0203f9e9c557b556b14fd6bb69b400513b3aaba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef UTILS_H
#define UTILS_H

#include <functional>
#include <QHash>
#include <QString>

namespace std {
	template<> struct hash<QString> {
		std::size_t operator()(const QString& s) const noexcept {
			return (size_t) qHash(s);
		}
	};
}

#endif