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 c2ddd6e commit 647cec6Copy full SHA for 647cec6
include/boost/parser/detail/stl_interfaces/view_adaptor.hpp
@@ -335,7 +335,7 @@ namespace boost::parser::detail { namespace stl_interfaces {
335
template<typename F>
336
struct adaptor
337
{
338
- constexpr adaptor(F f) : f_(f) {}
+ constexpr adaptor(F f) : f_(std::move(f)) {}
339
340
template<typename... Args>
341
constexpr auto operator()(Args &&... args) const
0 commit comments