diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2020-01-17 14:17:12 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2020-01-17 14:17:12 +0100 |
commit | 784b40b4974533742c6607b3f7281c6e998a5bb3 (patch) | |
tree | 0c2f51ae6d3e8365ce1c3da0fd7525fe3a1fa7ad | |
parent | fde755414529f2d700317063bbf55242aa24dde0 (diff) |
try fix build
-rw-r--r-- | compat/qhash.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compat/qhash.hpp b/compat/qhash.hpp index b92e4e55..ae7ada6a 100644 --- a/compat/qhash.hpp +++ b/compat/qhash.hpp @@ -1,5 +1,7 @@ #pragma once +#include <functional> + #include <QtGlobal> #include <QString> #include <QHashFunctions> @@ -11,6 +13,9 @@ namespace std { template<> struct hash<QString> { + using argument_type = QString; + using result_type = std::size_t; + std::size_t operator()(const QString& value) const noexcept { return qHash(value); |