From 8ac79554b970129a256932c576a06a1ef93738c1 Mon Sep 17 00:00:00 2001 From: Andreas Buhr Date: Mon, 9 Mar 2026 08:52:12 +0100 Subject: [PATCH] Try to fix clang-14 compilation --- include/boost/parser/detail/text/transcode_view.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/boost/parser/detail/text/transcode_view.hpp b/include/boost/parser/detail/text/transcode_view.hpp index 275a5273..e5f3b435 100644 --- a/include/boost/parser/detail/text/transcode_view.hpp +++ b/include/boost/parser/detail/text/transcode_view.hpp @@ -514,10 +514,9 @@ namespace boost::parser::detail { namespace text { #endif constexpr utf_view(V base) : base_{std::move(base)} {} - constexpr V base() const & -#if BOOST_PARSER_DETAIL_TEXT_USE_CONCEPTS - requires std::copy_constructible -#endif + constexpr V & base() & + { return base_; } + constexpr V const & base() const & { return base_; } constexpr V base() && { return std::move(base_); }