X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Frowdata.hpp;h=e763302ec41acb26548cc4b71be5a41f39c93505;hb=999869aa676f7077b7181355eee28e9b025d4cea;hp=ff59d31a0f18d4767f5a3fb946b0a3e839777721;hpb=88a2597864920ecdbe66cf0cd4b8172bdabb2263;p=pulseview.git 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 {