diff --git a/agents/unifiedmailboxagent/utils.h b/agents/unifiedmailboxagent/utils.h index 80f8713e1..5512b2605 100644 --- a/agents/unifiedmailboxagent/utils.h +++ b/agents/unifiedmailboxagent/utils.h @@ -53,6 +53,7 @@ inline QSet listToSet(QList &&list) return rv; } +#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0) namespace std { template<> struct hash { @@ -62,5 +63,6 @@ struct hash { } }; } +#endif #endif