Skip to content

Commit

Permalink
Fix compilation on clang++
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Apr 14, 2020
1 parent 10108c3 commit 7dc3a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/tao/pegtl/contrib/parse_tree.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ namespace TAO_PEGTL_NAMESPACE::parse_tree
inline constexpr bool is_selected_node = ( TAO_PEGTL_NAMESPACE::internal::enable_control< Rule > && Selector< Rule >::value );

template< unsigned Level, typename Subs, template< typename... > class Selector >
inline constexpr bool is_leaf;
inline constexpr bool is_leaf{};

template< typename... Rules, template< typename... > class Selector >
inline constexpr bool is_leaf< 0, rule_list< Rules... >, Selector > = ( sizeof...( Rules ) == 0 );
Expand Down

0 comments on commit 7dc3a9d

Please sign in to comment.