Skip to content

Commit a2f55e1

Browse files
CEL Dev Teamcopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 997350134
1 parent 5c5f381 commit a2f55e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎parser/internal/antlr_parser.cc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ class ParserVisitor final : public CelBaseVisitor,
725725
};
726726

727727
template <typename T, typename = std::enable_if_t<
728-
std::is_base_of<antlr4::tree::ParseTree, T>::value>>
728+
std::is_base_of_v<antlr4::tree::ParseTree, T>>>
729729
T* tree_as(antlr4::tree::ParseTree* tree) {
730730
return dynamic_cast<T*>(tree);
731731
}

0 commit comments

Comments
 (0)