Skip to content

Commit 07f9eb4

Browse files
CEL Dev Teamcopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 932834919
1 parent 80fc78a commit 07f9eb4

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tools/flatbuffers_backed_impl.cc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class ObjectStringIndexedMapImpl : public CelMap {
127127
arena_, **it, schema_, object_, arena_));
128128
}
129129
}
130-
return absl::nullopt;
130+
return std::nullopt;
131131
}
132132

133133
absl::StatusOr<const CelList*> ListKeys() const override { return &keys_; }
@@ -188,7 +188,7 @@ absl::optional<CelValue> FlatBuffersMapImpl::operator[](
188188
}
189189
auto field = keys_.fields->LookupByKey(cel_key.StringOrDie().value().data());
190190
if (field == nullptr) {
191-
return absl::nullopt;
191+
return std::nullopt;
192192
}
193193
switch (field->type()->base_type()) {
194194
case reflection::Byte:
@@ -323,15 +323,15 @@ absl::optional<CelValue> FlatBuffersMapImpl::operator[](
323323
}
324324
default:
325325
// Unsupported vector base types
326-
return absl::nullopt;
326+
return std::nullopt;
327327
}
328328
break;
329329
}
330330
default:
331331
// Unsupported types: enums, unions, arrays
332-
return absl::nullopt;
332+
return std::nullopt;
333333
}
334-
return absl::nullopt;
334+
return std::nullopt;
335335
}
336336

337337
const CelMap* CreateFlatBuffersBackedObject(const uint8_t* flatbuf,

0 commit comments

Comments
 (0)