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

Unified Diff: base/scoped_generic.h

Issue 2047633002: Revert of Remove base/move.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « base/process/process.h ('k') | base/values.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/scoped_generic.h
diff --git a/base/scoped_generic.h b/base/scoped_generic.h
index 84de6b7d50df4ac3ef02859d8e9a90708a5641ea..d41f19512ced12ffcdba043e3dae49a06570f5c9 100644
--- a/base/scoped_generic.h
+++ b/base/scoped_generic.h
@@ -11,6 +11,7 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
+#include "base/move.h"
namespace base {
@@ -53,6 +54,8 @@
// typedef ScopedGeneric<int, FooScopedTraits> ScopedFoo;
template<typename T, typename Traits>
class ScopedGeneric {
+ DISALLOW_COPY_AND_ASSIGN_WITH_MOVE_FOR_BIND(ScopedGeneric)
+
private:
// This must be first since it's used inline below.
//
@@ -157,8 +160,6 @@
const ScopedGeneric<T2, Traits2>& p2) const;
Data data_;
-
- DISALLOW_COPY_AND_ASSIGN(ScopedGeneric);
};
template<class T, class Traits>
« no previous file with comments | « base/process/process.h ('k') | base/values.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698