Skip to content

Commit a7c7470

Browse files
vmauerytzlaine
authored andcommitted
Remove unused lambda capture
str is unused in the lambda; remove it from the capture Signed-off-by: Vernon Mauery <vernon.mauery@intel.com>
1 parent b273133 commit a7c7470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/parser/parser.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1629,7 +1629,7 @@ namespace boost { namespace parser {
16291629
initial_elements.begin(),
16301630
initial_elements.end(),
16311631
str,
1632-
[&str](auto const & a, auto b) {
1632+
[](auto const & a, auto b) {
16331633
return a.first < b;
16341634
});
16351635
};

0 commit comments

Comments
 (0)