From d8bbc7858622b6d9c278469aab701ca0b609cddf Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 15 May 2024 05:35:49 +0200 Subject: Merging upstream version 126.0. Signed-off-by: Daniel Baumann --- third_party/libwebrtc/pc/rtc_stats_traversal.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'third_party/libwebrtc/pc/rtc_stats_traversal.cc') diff --git a/third_party/libwebrtc/pc/rtc_stats_traversal.cc b/third_party/libwebrtc/pc/rtc_stats_traversal.cc index 04de55028c..dfd0570b8f 100644 --- a/third_party/libwebrtc/pc/rtc_stats_traversal.cc +++ b/third_party/libwebrtc/pc/rtc_stats_traversal.cc @@ -44,7 +44,7 @@ void TraverseAndTakeVisitedStats(RTCStatsReport* report, void AddIdIfDefined(const RTCStatsMember& id, std::vector* neighbor_ids) { - if (id.is_defined()) + if (id.has_value()) neighbor_ids->push_back(&(*id)); } -- cgit v1.2.3