Index: remoting/base/typed_buffer.h |
diff --git a/remoting/base/typed_buffer.h b/remoting/base/typed_buffer.h |
index 26306fc439fb03f702d7606158ed5fac80f616bd..90239f07ffbdd15da524ec1fba0bf874bd0db7d5 100644 |
--- a/remoting/base/typed_buffer.h |
+++ b/remoting/base/typed_buffer.h |
@@ -11,7 +11,7 @@ |
#include <algorithm> |
#include "base/logging.h" |
-#include "base/macros.h" |
+#include "base/move.h" |
namespace remoting { |
@@ -21,6 +21,8 @@ |
// move-only semantics and typed buffer getters. |
template <typename T> |
class TypedBuffer { |
+ MOVE_ONLY_TYPE_FOR_CPP_03(TypedBuffer) |
+ |
public: |
TypedBuffer() : TypedBuffer(0) {} |
@@ -81,8 +83,6 @@ |
// Length of the owned buffer in bytes. |
uint32_t length_; |
- |
- DISALLOW_COPY_AND_ASSIGN(TypedBuffer); |
}; |
} // namespace remoting |