Skip to content

Commit

Permalink
Fix typo in adaptor::op() (f/f_ confusion).
Browse files Browse the repository at this point in the history
  • Loading branch information
tzlaine committed Jan 22, 2024
1 parent 1c050d2 commit 0f422d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/stl_interfaces/view_adaptor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ namespace boost { namespace stl_interfaces {
{
#if BOOST_STL_INTERFACES_USE_CONCEPTS
if constexpr (std::is_invocable_v<F const &, Args...>) {
return f((Args &&) args...);
return f_((Args &&) args...);
} else {
return closure(
stl_interfaces::bind_back(f_, (Args &&) args...));
Expand Down

0 comments on commit 0f422d5

Please sign in to comment.