We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eacce6 commit 703a8afCopy full SHA for 703a8af
include/boost/parser/detail/stl_interfaces/view_adaptor.hpp
@@ -259,7 +259,7 @@ namespace boost::parser::detail { namespace stl_interfaces {
259
template<typename F>
260
struct closure : range_adaptor_closure<closure<F>>
261
{
262
- constexpr closure(F f) : f_(f) {}
+ constexpr closure(F f) : f_(std::move(f)) {}
263
264
#if BOOST_PARSER_DETAIL_STL_INTERFACES_USE_CONCEPTS
265
template<typename T>
0 commit comments