2
0
mirror of https://github.com/boostorg/parser.git synced 2026-01-19 04:22:13 +00:00

Fix error in drone CI

error: call to implicitly-deleted copy constructor of [snip]
constexpr closure(F f) : f_(f) {}
This commit is contained in:
Andreas Buhr
2025-10-15 09:09:48 +02:00
committed by Zach Laine
parent 0eacce6080
commit 703a8afafe

View File

@@ -259,7 +259,7 @@ namespace boost::parser::detail { namespace stl_interfaces {
template<typename F>
struct closure : range_adaptor_closure<closure<F>>
{
constexpr closure(F f) : f_(f) {}
constexpr closure(F f) : f_(std::move(f)) {}
#if BOOST_PARSER_DETAIL_STL_INTERFACES_USE_CONCEPTS
template<typename T>