Skip to content

Commit

Permalink
Add missing keyword.
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinH committed Dec 13, 2024
1 parent 99b0d45 commit 1efdaf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/pegtl/buffer_text_buffer_input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ namespace TAO_PEGTL_NAMESPACE
in.require( 10 );
const auto m = in.rewind_position();
TAO_PEGTL_TEST_ASSERT( in.previous( m ) == in.current() );
in.consume< any >( 6 );
in.template consume< any >( 6 );
TAO_PEGTL_TEST_ASSERT( in.previous( m ) + 6 == in.current() );
in.rewind_to_position( m );
TAO_PEGTL_TEST_ASSERT( in.previous( m ) == in.current() );
TAO_PEGTL_TEST_ASSERT( &in.current_position() == &in.direct_position() );
TAO_PEGTL_TEST_ASSERT( in.direct_count() == in.current_position().count );
TAO_PEGTL_TEST_ASSERT( in.direct_line() == in.current_position().line );
TAO_PEGTL_TEST_ASSERT( in.direct_column() == in.current_position().column );
in.consume< alpha >( 5 );
in.template consume< alpha >( 5 );
const auto n = in.rewind_position();
in.consume< eol >( 1 );
TAO_PEGTL_TEST_ASSERT( in.direct_count() == 6 );
Expand Down

0 comments on commit 1efdaf1

Please sign in to comment.