From 9a5ef9a0d7966bf956f0b32bf3a57029a8d7d45a Mon Sep 17 00:00:00 2001 From: Soeren Apel Date: Tue, 5 May 2020 14:50:29 +0200 Subject: [PATCH] Fix #1542 by providing std::hash implementation as needed --- pv/data/decode/rowdata.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pv/data/decode/rowdata.hpp b/pv/data/decode/rowdata.hpp index ff59d31a..e763302e 100644 --- a/pv/data/decode/rowdata.hpp +++ b/pv/data/decode/rowdata.hpp @@ -23,6 +23,7 @@ #include #include +#include #include #include @@ -33,6 +34,7 @@ using std::deque; using std::unordered_map; +#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) namespace std { template<> struct hash { std::size_t operator()(const QString& s) const noexcept { @@ -40,6 +42,7 @@ namespace std { } }; } +#endif namespace pv { namespace data { -- 2.30.2