Skip to content

Commit

Permalink
Remove unused lambda capture
Browse files Browse the repository at this point in the history
str is unused in the lambda; remove it from the capture

Signed-off-by: Vernon Mauery <[email protected]>
  • Loading branch information
vmauery authored and tzlaine committed Oct 27, 2024
1 parent b273133 commit a7c7470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/parser/parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1629,7 +1629,7 @@ namespace boost { namespace parser {
initial_elements.begin(),
initial_elements.end(),
str,
[&str](auto const & a, auto b) {
[](auto const & a, auto b) {
return a.first < b;
});
};
Expand Down

0 comments on commit a7c7470

Please sign in to comment.