Index: remoting/base/typed_buffer_unittest.cc |
diff --git a/remoting/base/typed_buffer_unittest.cc b/remoting/base/typed_buffer_unittest.cc |
index 0c036fbea812b32ef4d252aa9d4a8e6daa5ea32a..ae1561c22aeb65d15488226fa1a5f73b11ec22f4 100644 |
--- a/remoting/base/typed_buffer_unittest.cc |
+++ b/remoting/base/typed_buffer_unittest.cc |
@@ -3,6 +3,9 @@ |
// found in the LICENSE file. |
#include "remoting/base/typed_buffer.h" |
+ |
+#include <utility> |
+ |
#include "testing/gtest/include/gtest/gtest.h" |
namespace remoting { |
@@ -57,7 +60,7 @@ TEST(TypedBufferTest, Pass) { |
EXPECT_EQ(right.length(), sizeof(int)); |
Data* raw_ptr = right.get(); |
- left = right.Pass(); |
+ left = std::move(right); |
// Verify that passing ownership transfers both the buffer pointer and its |
// length. |