From 196e10bce4c0a9d7a746f5fdde47168a06823472 Mon Sep 17 00:00:00 2001 From: Sona Kurazyan Date: Tue, 22 Feb 2022 19:42:28 +0100 Subject: [PATCH] Fix formatting in qbytearrayalgorithms.h Pick-to: 6.3 Change-Id: I1ff15049e73b8ce02101b5d84b2ac02d5fb69abb Reviewed-by: Thiago Macieira --- src/corelib/text/qbytearrayalgorithms.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/corelib/text/qbytearrayalgorithms.h b/src/corelib/text/qbytearrayalgorithms.h index badaf4f381..f80b97e04e 100644 --- a/src/corelib/text/qbytearrayalgorithms.h +++ b/src/corelib/text/qbytearrayalgorithms.h @@ -85,8 +85,8 @@ qsizetype count(QByteArrayView haystack, QByteArrayView needle) noexcept; // since it includes qbytearrayalgorithms.h. Use the ByteArrayView template type as // a workaround. template >> static inline -T toIntegral(ByteArrayView data, bool *ok, int base) + typename = std::enable_if_t>> +static inline T toIntegral(ByteArrayView data, bool *ok, int base) { auto val = [&] { if constexpr (std::is_unsigned_v)