Skip to content

Commit 8d7a64f

Browse files
Andreas Buhrtzlaine
authored andcommitted
Performance improvement: Do not copy use_parser into lambda
1 parent 8c23054 commit 8d7a64f

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
@@ -3389,7 +3389,7 @@ namespace boost { namespace parser {
33893389

33903390
bool done = false;
33913391
auto try_parser = [prev_first = first,
3392-
use_parser,
3392+
&use_parser,
33933393
&success,
33943394
flags,
33953395
&retval,

0 commit comments

Comments
 (0)