Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eval/eval/attribute_utility.cc
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ absl::optional<UnknownValue> AttributeUtility::MergeUnknowns(
}

if (!result_set.has_value()) {
return absl::nullopt;
return std::nullopt;
}

return UnknownValue(cel::Unknown(result_set->unknown_attributes(),
Expand Down
2 changes: 1 addition & 1 deletion eval/eval/container_access_step.cc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ absl::optional<Number> CelNumberFromValue(const Value& value) {
case ValueKind::kDouble:
return Number::FromDouble(value.GetDouble().NativeValue());
default:
return absl::nullopt;
return std::nullopt;
}
}

Expand Down
4 changes: 2 additions & 2 deletions eval/eval/function_step.cc
Original file line number Diff line number Diff line change
Expand Up @@ -291,15 +291,15 @@ absl::StatusOr<ResolveResult> ResolveStatic(
return overload;
}
}
return absl::nullopt;
return std::nullopt;
}

absl::StatusOr<ResolveResult> ResolveLazy(
absl::Span<const cel::Value> input_args, absl::string_view name,
bool receiver_style,
absl::Span<const cel::FunctionRegistry::LazyOverload> providers,
const ExecutionFrameBase& frame) {
ResolveResult result = absl::nullopt;
ResolveResult result = std::nullopt;

std::vector<cel::Kind> arg_types(input_args.size());

Expand Down
2 changes: 1 addition & 1 deletion eval/eval/select_step.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ absl::optional<Value> CheckForMarkedAttributes(const AttributeTrail& trail,
return cel::ErrorValue(std::move(result).status());
}

return absl::nullopt;
return std::nullopt;
}

void TestOnlySelect(const StructValue& msg, const std::string& field,
Expand Down
Loading