diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-05 15:59:58 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-05 14:35:44 +0000 |
commit | 9cca4ffd9987352e43119d9c4dea0ce84c2c448f (patch) | |
tree | 250e8092af1738ce51c268e2866dd75d67e879df /compat/qhash.hpp | |
parent | f0216a3c53d43918295f1bd81975b391f4e5ed3b (diff) |
silly busywork
Diffstat (limited to 'compat/qhash.hpp')
-rw-r--r-- | compat/qhash.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compat/qhash.hpp b/compat/qhash.hpp index a9685007..ba569285 100644 --- a/compat/qhash.hpp +++ b/compat/qhash.hpp @@ -1,13 +1,12 @@ #pragma once -#include <functional> #include <QString> #include <QHashFunctions> namespace std { template<> struct hash<QString> { - inline unsigned operator()(const QString& value) const + constexpr unsigned operator()(const QString& value) const { return qHash(value); } |