Skip to content

Commit

Permalink
Fix a template that will break with GCC 11.x.
Browse files Browse the repository at this point in the history
Change-Id: I7173f86affd7dc01f1b2d870c1305c5867f2a9ac
Reviewed-on: https://code-review.googlesource.com/c/re2/+/57810
Reviewed-by: Paul Wankadia <junyer@google.com>
  • Loading branch information
junyer committed Sep 26, 2020
1 parent 3ab7d1d commit 0ceda87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion re2/walker-inl.h
Expand Up @@ -119,7 +119,7 @@ template<typename T> T Regexp::Walker<T>::Copy(T arg) {

// State about a single level in the traversal.
template<typename T> struct WalkState {
WalkState<T>(Regexp* re, T parent)
WalkState(Regexp* re, T parent)
: re(re),
n(-1),
parent_arg(parent),
Expand Down

0 comments on commit 0ceda87

Please sign in to comment.