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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user