Skip to content
Closed
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
4 changes: 2 additions & 2 deletions runtime/optional_types.cc
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ absl::StatusOr<Value> SelectOptionalFieldMap(
const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool,
google::protobuf::MessageFactory* absl_nonnull message_factory,
google::protobuf::Arena* absl_nonnull arena) {
absl::optional<Value> value;
std::optional<Value> value;
CEL_ASSIGN_OR_RETURN(value,
map.Find(key, descriptor_pool, message_factory, arena));
if (value) {
Expand Down Expand Up @@ -140,7 +140,7 @@ absl::StatusOr<Value> MapOptIndexOptionalValue(
const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool,
google::protobuf::MessageFactory* absl_nonnull message_factory,
google::protobuf::Arena* absl_nonnull arena) {
absl::optional<Value> value;
std::optional<Value> value;
if (auto double_key = cel::As<DoubleValue>(key); double_key) {
// Try int/uint.
auto number = internal::Number::FromDouble(double_key->NativeValue());
Expand Down