From 27dfe201a55b345c17ca4586a5a5a3a9ab245ee9 Mon Sep 17 00:00:00 2001 From: noahric Date: Fri, 23 Oct 2015 06:01:10 -0700 Subject: [PATCH] Remove final from rtc::Buffer. With it removed, you can now use it with scoped_refptr by wrapping it in an rtc::RefCountedObject. BUG= Review URL: https://codereview.webrtc.org/1414053003 Cr-Commit-Position: refs/heads/master@{#10386} --- webrtc/base/buffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/base/buffer.h b/webrtc/base/buffer.h index 8071701d5a..7b9402b511 100644 --- a/webrtc/base/buffer.h +++ b/webrtc/base/buffer.h @@ -44,7 +44,7 @@ struct ByteType { // Basic buffer class, can be grown and shrunk dynamically. // Unlike std::string/vector, does not initialize data when expanding capacity. -class Buffer final { +class Buffer { public: Buffer(); // An empty buffer. Buffer(const Buffer& buf); // Copy size and contents of an existing buffer.