summarylogtreecommitdiffstats
path: root/qt-5.14.patch
diff options
context:
space:
mode:
authorAlexey Rochev2020-01-06 17:28:47 +0300
committerAlexey Rochev2020-01-06 17:28:47 +0300
commit801ccdc369ae70f6d558fbe72ab48767d85c7a2e (patch)
tree5ec55d0376a07bed58cfd9f2276f316ba5785b7d /qt-5.14.patch
parent5efd2682dcd7f7c81137377a41a7187c789ec1a4 (diff)
downloadaur-801ccdc369ae70f6d558fbe72ab48767d85c7a2e.tar.gz
1.6.3
Diffstat (limited to 'qt-5.14.patch')
-rw-r--r--qt-5.14.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/qt-5.14.patch b/qt-5.14.patch
deleted file mode 100644
index 9e8399170204..000000000000
--- a/qt-5.14.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- a/src/libtremotesf/stdutils.h
-+++ b/src/libtremotesf/stdutils.h
-@@ -25,26 +25,27 @@
- #include <QHash>
- #include <QString>
-
-+#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
- namespace std {
- template<>
- class hash<QString> {
- public:
-- size_t operator()(const QString& string) const
-+ size_t operator()(const QString& string) const noexcept(noexcept(qHash(string)))
- {
-- return qHash(string);
-+ return qHash(string, qHash(std::hash<int>{}(0)));
- }
- };
-
- template<>
- class hash<QByteArray> {
- public:
-- size_t operator()(const QByteArray& bytes) const
-+ size_t operator()(const QByteArray& bytes) const noexcept(noexcept(qHash(bytes)))
- {
-- return qHash(bytes);
-+ return qHash(bytes, qHash(std::hash<int>{}(0)));
- }
- };
- }
--
-+#endif
-
- namespace tremotesf
- {