From f68443d981babe9e2d98b9e7cad53b287d8229c6 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 31 Oct 2024 17:26:11 +0100 Subject: [PATCH] QAnyStringView: group the char-ish ctors visually Separate them with blank lines from the other ctor sets, remove an internal blank. Pick-to: 6.8 6.5 6.2 Change-Id: I5cb165930520681b68a85b57d05a86c0ca440805 Reviewed-by: Thiago Macieira --- src/corelib/text/qanystringview.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/text/qanystringview.h b/src/corelib/text/qanystringview.h index a2f638d4a3b..ec6d960dac8 100644 --- a/src/corelib/text/qanystringview.h +++ b/src/corelib/text/qanystringview.h @@ -209,13 +209,13 @@ class QAnyStringView constexpr QAnyStringView(Container &&c, QtPrivate::wrapped_t &&capacity = {}) //noexcept(std::is_nothrow_constructible_v) : QAnyStringView(capacity = std::forward(c)) {} + template = true> constexpr QAnyStringView(const Char &c) noexcept : QAnyStringView{fromCharInternal(c)} {} template = true> constexpr QAnyStringView(Char ch, QCharContainer &&capacity = QCharContainer()) noexcept : QAnyStringView{&(capacity.ch = ch), 1} {} - template , bool> = true> constexpr QAnyStringView(Char c, Container &&capacity = {}) noexcept