diff --git a/codelab/solutions/exercise4.cc b/codelab/solutions/exercise4.cc index 244fdac05..d6d053d17 100644 --- a/codelab/solutions/exercise4.cc +++ b/codelab/solutions/exercise4.cc @@ -63,7 +63,7 @@ absl::StatusOr ContainsExtensionFunction(google::protobuf::Arena* arena, const CelMap* map, CelValue::StringHolder key, const CelValue& value) { - absl::optional entry = (*map)[CelValue::CreateString(key)]; + std::optional entry = (*map)[CelValue::CreateString(key)]; if (!entry.has_value()) { return false; }