From 523eff622efd2535a303cb68f202059b9f835249 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Bostr=C3=B6m?= Date: Mon, 22 Jan 2024 13:52:38 +0100 Subject: [PATCH] [Stats] Delete unused RTCStatsMember type alias. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With this CL the migration to absl::optional is complete. Bug: webrtc:15164 Change-Id: I978d86833fbd39154ed9026206a02ea7496f8c4f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/335640 Reviewed-by: Harald Alvestrand Commit-Queue: Henrik Boström Reviewed-by: Evan Shrubsole Cr-Commit-Position: refs/heads/main@{#41616} --- api/stats/attribute.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/api/stats/attribute.h b/api/stats/attribute.h index d5fb290750..36500db999 100644 --- a/api/stats/attribute.h +++ b/api/stats/attribute.h @@ -23,14 +23,11 @@ namespace webrtc { -// TODO(https://crbug.com/webrtc/15164): Migrate all uses of RTCStatsMember to -// absl::optional and delete this type alias. -template -using RTCStatsMember = absl::optional; - -// A light-weight wrapper of an RTCStats attribute (an individual metric). +// A light-weight wrapper of an RTCStats attribute, i.e. an individual metric of +// type absl::optional. class RTC_EXPORT Attribute { public: + // All supported attribute types. typedef absl::variant*, const absl::optional*, const absl::optional*,