Index: google_apis/drive/test_util.h |
diff --git a/google_apis/drive/test_util.h b/google_apis/drive/test_util.h |
index f959ad76c42f2de28cc516522b151b4ce8947786..f3fbf8d7f7c924c3684835b647b79990009743dd 100644 |
--- a/google_apis/drive/test_util.h |
+++ b/google_apis/drive/test_util.h |
@@ -155,7 +155,7 @@ template<bool IsMovable, typename T> struct MoveHelper { |
static const T& Move(const T* in) { return *in; } |
}; |
template<typename T> struct MoveHelper<true, T> { |
- static T Move(T* in) { return in->Pass(); } |
+ static T Move(T* in) { return std::move(*in); } |
}; |
// Helper to handle Chrome's move semantics correctly. |