From 69e12f5bd10459ff7c239b82519107ae2a755bc0 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Mon, 24 Jul 2023 15:08:16 -0400 Subject: add upstream 12.5 --- wx+/no_flicker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wx+/no_flicker.h') diff --git a/wx+/no_flicker.h b/wx+/no_flicker.h index 8a461db3..3d7c0ee0 100644 --- a/wx+/no_flicker.h +++ b/wx+/no_flicker.h @@ -55,7 +55,7 @@ void setTextWithUrls(wxRichTextCtrl& richCtrl, const wxString& newText) for (auto it = newText.begin();;) { - const std::wstring_view urlPrefix = L"https://"; + constexpr std::wstring_view urlPrefix = L"https://"; const auto itUrl = std::search(it, newText.end(), urlPrefix.begin(), urlPrefix.end()); if (it != itUrl) blocks.emplace_back(BlockType::text, wxString(it, itUrl)); -- cgit