diff --git a/include/tao/pegtl/demangle.hpp b/include/tao/pegtl/demangle.hpp index 978227a31..a98c91902 100644 --- a/include/tao/pegtl/demangle.hpp +++ b/include/tao/pegtl/demangle.hpp @@ -90,7 +90,7 @@ namespace TAO_PEGTL_NAMESPACE static_assert( internal::dependent_true< T > && ( begin != std::string_view::npos ) ); constexpr auto tmp = sv.substr( begin + 2 ); constexpr auto end = tmp.rfind( ';' ); - static_assert( internal::dependen_true< T > && ( end != std::string_view::npos ) ); + static_assert( internal::dependent_true< T > && ( end != std::string_view::npos ) ); return tmp.substr( 0, end ); } @@ -117,7 +117,7 @@ namespace TAO_PEGTL_NAMESPACE { constexpr std::string_view sv = __FUNCSIG__; constexpr auto begin = sv.find( "demangle<" ); - static_assert( internal::dependen_true< T > && ( begin != std::string_view::npos ) ); + static_assert( internal::dependent_true< T > && ( begin != std::string_view::npos ) ); constexpr auto tmp = sv.substr( begin + 9 ); constexpr auto end = tmp.rfind( '>' ); static_assert( internal::dependent_true< T > && ( end != std::string_view::npos ) );