diff options
Diffstat (limited to 'sync/internal_api/protocol_event_buffer.cc')
-rw-r--r-- | sync/internal_api/protocol_event_buffer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sync/internal_api/protocol_event_buffer.cc b/sync/internal_api/protocol_event_buffer.cc index 962a0bd..dc4af22 100644 --- a/sync/internal_api/protocol_event_buffer.cc +++ b/sync/internal_api/protocol_event_buffer.cc @@ -31,9 +31,9 @@ ProtocolEventBuffer::GetBufferedProtocolEvents() const { ScopedVector<ProtocolEvent> ret; for (std::deque<ProtocolEvent*>::const_iterator it = buffer_.begin(); it != buffer_.end(); ++it) { - ret.push_back((*it)->Clone().Pass()); + ret.push_back((*it)->Clone()); } - return ret.Pass(); + return ret; } } // namespace syncer |