Skip to content

Commit 9cacfc6

Browse files
committed
OSS export.
PiperOrigin-RevId: 348051353
1 parent 6dc9795 commit 9cacfc6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

eval/eval/evaluator_core.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ namespace runtime {
3434
// Forward declaration of ExecutionFrame, to resolve circular dependency.
3535
class ExecutionFrame;
3636

37+
using Expr = google::api::expr::v1alpha1::Expr;
38+
3739
// Class Expression represents single execution step.
3840
class ExpressionStep {
3941
public:

eval/public/builtin_func_test.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ TEST_F(BuiltinsTest, TestDoubleConversions_uint) {
737737
}
738738

739739
TEST_F(BuiltinsTest, TestDoubleConversionError_stringInvalid) {
740-
string invalid = "-100e-10.0";
740+
std::string invalid = "-100e-10.0";
741741
TestTypeConversionError(builtin::kDouble, CelValue::CreateString(&invalid));
742742
}
743743

@@ -822,7 +822,7 @@ TEST_F(BuiltinsTest, TestUintConversionError_intRange) {
822822
}
823823

824824
TEST_F(BuiltinsTest, TestUintConversionError_stringInvalid) {
825-
string invalid = "-100";
825+
std::string invalid = "-100";
826826
TestTypeConversionError(builtin::kUint, CelValue::CreateString(&invalid));
827827
}
828828

0 commit comments

Comments
 (0)