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 {