[Stats] Delete unused RTCStatsMember type alias.

With this CL the migration to absl::optional<T> is complete.

Bug: webrtc:15164
Change-Id: I978d86833fbd39154ed9026206a02ea7496f8c4f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/335640
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Reviewed-by: Evan Shrubsole <eshr@google.com>
Cr-Commit-Position: refs/heads/main@{#41616}
This commit is contained in:
Henrik Boström 2024-01-22 13:52:38 +01:00 committed by WebRTC LUCI CQ
parent 6a3bbefd58
commit 523eff622e

View file

@ -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 <typename T>
using RTCStatsMember = absl::optional<T>;
// 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<T>.
class RTC_EXPORT Attribute {
public:
// All supported attribute types.
typedef absl::variant<const absl::optional<bool>*,
const absl::optional<int32_t>*,
const absl::optional<uint32_t>*,