Skip to content

Commit

Permalink
Fix clang-tidy finding
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Apr 4, 2020
1 parent e8e546a commit ede3ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/example/pegtl/abnf2pegtl.cpp
Expand Up @@ -656,7 +656,7 @@ namespace tao
// note: content can not be used here!
return to_string( n->children.back() );
}
const auto min_element = ( min_val == 1 ) ? content : ( prefix + "rep< " + min + ", " + content + " >" );
auto min_element = ( min_val == 1 ) ? content : ( prefix + "rep< " + min + ", " + content + " >" );
if( min_val == max_val ) {
return min_element;
}
Expand Down

0 comments on commit ede3ce1

Please sign in to comment.