diff --git a/webrtc/base/buffer.h b/webrtc/base/buffer.h index 85e6efb74e..ecc4b2321d 100644 --- a/webrtc/base/buffer.h +++ b/webrtc/base/buffer.h @@ -57,6 +57,8 @@ class BufferT { static_assert(!std::is_const::value, "T may not be const"); public: + using value_type = T; + // An empty BufferT. BufferT() : size_(0), capacity_(0), data_(nullptr) { RTC_DCHECK(IsConsistent());