diff --git a/src/corelib/text/qlatin1stringmatcher.h b/src/corelib/text/qlatin1stringmatcher.h index dd3414fc6dc..b9576ae21c6 100644 --- a/src/corelib/text/qlatin1stringmatcher.h +++ b/src/corelib/text/qlatin1stringmatcher.h @@ -14,9 +14,9 @@ QT_BEGIN_NAMESPACE namespace QtPrivate { -template -constexpr inline bool isLatin1OrUtf16View = - std::disjunction_v, std::is_same>; +template constexpr inline bool isLatin1OrUtf16View = false; +template <> constexpr inline bool isLatin1OrUtf16View = true; +template <> constexpr inline bool isLatin1OrUtf16View = true; template::value_type>,