Chromium Code Reviews| Index: base/move.h |
| diff --git a/base/move.h b/base/move.h |
| index 06f3f323723f68126542d3db3fed49487cb73bc6..91fd0e78054758abc884eb3399305f3ab40c102e 100644 |
| --- a/base/move.h |
| +++ b/base/move.h |
| @@ -226,4 +226,9 @@ |
| typedef void MoveOnlyTypeForCPP03; \ |
| private: |
| +#define TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03(type) \ |
| + public: \ |
| + type&& Pass() WARN_UNUSED_RESULT { return static_cast<type&&>(*this); } \ |
| + private: |
| + |
| #endif // BASE_MOVE_H_ |