From 1efdaf14a4258ca8731d69144ec490a0667bd02f Mon Sep 17 00:00:00 2001 From: "Dr. Colin Hirsch" Date: Fri, 13 Dec 2024 18:09:53 +0100 Subject: [PATCH] Add missing keyword. --- src/test/pegtl/buffer_text_buffer_input.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/pegtl/buffer_text_buffer_input.cpp b/src/test/pegtl/buffer_text_buffer_input.cpp index b9f1057a..c0097866 100644 --- a/src/test/pegtl/buffer_text_buffer_input.cpp +++ b/src/test/pegtl/buffer_text_buffer_input.cpp @@ -14,7 +14,7 @@ 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() ); @@ -22,7 +22,7 @@ namespace TAO_PEGTL_NAMESPACE 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 );