mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-12 21:30:45 +01:00
[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:
parent
6a3bbefd58
commit
523eff622e
1 changed files with 3 additions and 6 deletions
|
@ -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>*,
|
||||
|
|
Loading…
Reference in a new issue