Migrate absl::optional to std::optional
Bug: webrtc:342905193
No-Try: True
Change-Id: Icc968be43b8830038ea9a1f5f604307220457807
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/361021
Auto-Submit: Florent Castelli <orphis@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Florent Castelli <orphis@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#42911}
diff --git a/pc/sdp_state_provider.h b/pc/sdp_state_provider.h
index 23ffc91..8fe5bf5 100644
--- a/pc/sdp_state_provider.h
+++ b/pc/sdp_state_provider.h
@@ -45,7 +45,7 @@
// Whether an ICE restart was indicated in the remote offer.
// Used in CreateAnswer.
virtual bool IceRestartPending(const std::string& content_name) const = 0;
- virtual absl::optional<rtc::SSLRole> GetDtlsRole(
+ virtual std::optional<rtc::SSLRole> GetDtlsRole(
const std::string& mid) const = 0;
};