| Index: webrtc/base/buffer.h
|
| diff --git a/webrtc/base/buffer.h b/webrtc/base/buffer.h
|
| index bf2e9f3c933d031a4a28546333f70a8162e35d82..ff9bb73d3f998ad3f7cd76fcae320cf521958293 100644
|
| --- a/webrtc/base/buffer.h
|
| +++ b/webrtc/base/buffer.h
|
| @@ -15,6 +15,8 @@
|
| #include <cassert>
|
| #include <cstring>
|
| #include <utility> // std::swap (C++11 and later)
|
| +
|
| +#include "webrtc/base/deprecation.h"
|
| #include "webrtc/base/scoped_ptr.h"
|
|
|
| namespace rtc {
|
| @@ -170,7 +172,9 @@ class Buffer {
|
| }
|
|
|
| // b.Pass() does the same thing as std::move(b).
|
| - Buffer&& Pass() {
|
| + // Deprecated; remove in March 2016 (bug 5373).
|
| + RTC_DEPRECATED Buffer&& Pass() { return DEPRECATED_Pass(); }
|
| + Buffer&& DEPRECATED_Pass() {
|
| assert(IsConsistent());
|
| return std::move(*this);
|
| }
|
|
|