Skip to content

Commit e29a35b

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

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎eval/public/ast_rewrite_test.cc‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ TEST(AstCrawlerTest, CheckExprRewriteHandlers) {
501501
// Simple rewrite that replaces a select path with a dot-qualified identifier.
502502
class RewriterExample : public AstRewriterBase {
503503
public:
504-
RewriterExample() {}
504+
RewriterExample() = default;
505505
bool PostVisitRewrite(Expr* expr, const SourcePosition* info) override {
506506
if (target_.has_value() && expr->id() == *target_) {
507507
expr->mutable_ident_expr()->set_name("com.google.Identifier");
@@ -552,7 +552,7 @@ TEST(AstRewrite, SelectRewriteExample) {
552552
// both passes.
553553
class PreRewriterExample : public AstRewriterBase {
554554
public:
555-
PreRewriterExample() {}
555+
PreRewriterExample() = default;
556556
bool PreVisitRewrite(Expr* expr, const SourcePosition* info) override {
557557
if (expr->ident_expr().name() == "x") {
558558
expr->mutable_ident_expr()->set_name("y");

‎eval/public/builtin_func_test.cc‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ using ::testing::Eq;
5555

5656
class BuiltinsTest : public ::testing::Test {
5757
protected:
58-
BuiltinsTest() {}
58+
BuiltinsTest() = default;
5959

6060
// Helper method. Looks up in registry and tests comparison operation.
6161
void PerformRun(absl::string_view operation, absl::optional<CelValue> target,
@@ -1123,7 +1123,7 @@ class FakeList : public CelList {
11231123

11241124
class FakeErrorMap : public CelMap {
11251125
public:
1126-
FakeErrorMap() {}
1126+
FakeErrorMap() = default;
11271127

11281128
int size() const override { return 0; }
11291129

‎eval/public/extension_func_test.cc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ static const int kNanosPerSecond = 1000000000;
3232

3333
class ExtensionTest : public ::testing::Test {
3434
protected:
35-
ExtensionTest() {}
35+
ExtensionTest() = default;
3636

3737
void SetUp() override {
3838
ASSERT_OK(RegisterBuiltinFunctions(&registry_));

0 commit comments

Comments
 (0)