File indexing completed on 2024-03-24 03:47:13
0001 /* 0002 SPDX-FileCopyrightText: 2021 Valentin Boettcher <hiro at protagon.space; @hiro98:tchncs.de> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include <QtGlobal> 0008 #pragma once 0009 #if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0)) 0010 #include <QHash> 0011 #include <QString> 0012 #include <functional> 0013 0014 namespace std 0015 { 0016 template <> 0017 struct hash<QString> 0018 { 0019 size_t operator()(const QString &s) const noexcept { return qHash(s); } 0020 }; 0021 } // namespace std 0022 #endif