diff --git a/src/corelib/serialization/qxmlstream.cpp b/src/corelib/serialization/qxmlstream.cpp index 16c234b3cd..8150a0e0a6 100644 --- a/src/corelib/serialization/qxmlstream.cpp +++ b/src/corelib/serialization/qxmlstream.cpp @@ -64,21 +64,18 @@ auto transform(QUtf8StringView haystack, char needle) return R{haystack, needle}; } -[[maybe_unused]] auto transform(QLatin1StringView haystack, QLatin1StringView needle) { struct R { QLatin1StringView haystack; QLatin1StringView needle; }; return R{haystack, needle}; } -[[maybe_unused]] auto transform(QStringView haystack, QLatin1StringView needle) { struct R { QStringView haystack; QLatin1StringView needle; }; return R{haystack, needle}; } -[[maybe_unused]] auto transform(QUtf8StringView haystack, QLatin1StringView needle) { struct R { QLatin1StringView haystack; QLatin1StringView needle; };