From 19b0fd3ea676d8702318e7e329325bd91bb8fd88 Mon Sep 17 00:00:00 2001 From: Andreas Buhr Date: Wed, 15 Oct 2025 09:09:48 +0200 Subject: [PATCH] Fix error in drone CI error: call to implicitly-deleted copy constructor of [snip] constexpr closure(F f) : f_(f) {} --- include/boost/parser/detail/stl_interfaces/view_adaptor.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/parser/detail/stl_interfaces/view_adaptor.hpp b/include/boost/parser/detail/stl_interfaces/view_adaptor.hpp index 4cbc2a36..9c84f3cf 100644 --- a/include/boost/parser/detail/stl_interfaces/view_adaptor.hpp +++ b/include/boost/parser/detail/stl_interfaces/view_adaptor.hpp @@ -259,7 +259,7 @@ namespace boost::parser::detail { namespace stl_interfaces { template struct closure : range_adaptor_closure> { - constexpr closure(F f) : f_(f) {} + constexpr closure(F f) : f_(std::move(f)) {} #if BOOST_PARSER_DETAIL_STL_INTERFACES_USE_CONCEPTS template