summaryrefslogtreecommitdiffhomepage
path: root/compat/qhash.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-10-05 15:59:58 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-10-05 14:35:44 +0000
commit9cca4ffd9987352e43119d9c4dea0ce84c2c448f (patch)
tree250e8092af1738ce51c268e2866dd75d67e879df /compat/qhash.hpp
parentf0216a3c53d43918295f1bd81975b391f4e5ed3b (diff)
silly busywork
Diffstat (limited to 'compat/qhash.hpp')
-rw-r--r--compat/qhash.hpp3
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);
}