Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1499)

Unified Diff: webrtc/system_wrappers/include/scoped_vector.h

Issue 1778243006: Remove the (previosly deprecated) Pass methods (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/scoped_ptr.h ('k') | webrtc/system_wrappers/source/scoped_vector_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/system_wrappers/include/scoped_vector.h
diff --git a/webrtc/system_wrappers/include/scoped_vector.h b/webrtc/system_wrappers/include/scoped_vector.h
index 15c3380c8c4a7df2f2309eb9db6a7afb0b733d21..ba836d8106f11ba29761bc3f708e08dc4f78b445 100644
--- a/webrtc/system_wrappers/include/scoped_vector.h
+++ b/webrtc/system_wrappers/include/scoped_vector.h
@@ -16,7 +16,6 @@
#include <vector>
#include "webrtc/base/checks.h"
-#include "webrtc/base/deprecation.h"
#include "webrtc/system_wrappers/include/stl_util.h"
namespace webrtc {
@@ -56,13 +55,6 @@ class ScopedVector {
ScopedVector(const ScopedVector& other) = delete;
ScopedVector& operator=(const ScopedVector& other) = delete;
- // Get an rvalue reference. (sv.Pass() does the same thing as std::move(sv).)
- // Deprecated; remove in March 2016 (bug 5373).
- RTC_DEPRECATED ScopedVector&& Pass() { return DEPRECATED_Pass(); }
- ScopedVector&& DEPRECATED_Pass() {
- return std::move(*this);
- }
-
reference operator[](size_t index) { return v_[index]; }
const_reference operator[](size_t index) const { return v_[index]; }
« no previous file with comments | « webrtc/base/scoped_ptr.h ('k') | webrtc/system_wrappers/source/scoped_vector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698