Skip to content

Commit

Permalink
remove erroneous rvalue qualification
Browse files Browse the repository at this point in the history
  • Loading branch information
cmazakas committed Dec 17, 2024
1 parent 736b381 commit c3bd408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/compat/function_ref.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ struct function_ref_base {
function_ref_base(const function_ref_base&) noexcept = default;
function_ref_base& operator=(const function_ref_base&) noexcept = default;

R operator()(Args&&... args) const noexcept(NoEx) { return this->invoke_(thunk_, std::forward<Args>(args)...); }
R operator()(Args... args) const noexcept(NoEx) { return this->invoke_(thunk_, std::forward<Args>(args)...); }
};

} // namespace detail
Expand Down

0 comments on commit c3bd408

Please sign in to comment.