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

Unified Diff: base/move.h

Issue 1477643002: Remove the TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03 macro. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@basepass
Patch Set: type-with-move: . Created 5 years, 1 month 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
Index: base/move.h
diff --git a/base/move.h b/base/move.h
index ce8a8e13a7924fd92128d2dd1a2a4087c1f5a46a..06816eb44f8feaef8cb612bb8c6b70cd2786a704 100644
--- a/base/move.h
+++ b/base/move.h
@@ -228,9 +228,4 @@
typedef void MoveOnlyTypeForCPP03; \
private:
-#define TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03(type) \
- public: \
- type&& Pass() WARN_UNUSED_RESULT { return std::move(*this); } \
- private:
-
#endif // BASE_MOVE_H_

Powered by Google App Engine
This is Rietveld 408576698