From a1b126f18a8f402b36c63187e2d0ee8c30ce83c0 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sun, 15 Dec 2019 19:30:50 +0100 Subject: [PATCH] Fix building against Qt 5.14.0 --- dbquery/musicbrainz.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dbquery/musicbrainz.cpp b/dbquery/musicbrainz.cpp index 3aaafb3..2032219 100644 --- a/dbquery/musicbrainz.cpp +++ b/dbquery/musicbrainz.cpp @@ -20,6 +20,7 @@ using namespace std; using namespace std::placeholders; using namespace Utility; +#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0)) namespace std { template <> struct hash { std::size_t operator()(const QString &s) const @@ -28,6 +29,7 @@ template <> struct hash { } }; } // namespace std +#endif namespace QtGui {