summaryrefslogtreecommitdiffstats
path: root/remoting/host/ipc_audio_capturer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/host/ipc_audio_capturer.cc')
-rw-r--r--remoting/host/ipc_audio_capturer.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/remoting/host/ipc_audio_capturer.cc b/remoting/host/ipc_audio_capturer.cc
index 5bc568d..3b6b95d 100644
--- a/remoting/host/ipc_audio_capturer.cc
+++ b/remoting/host/ipc_audio_capturer.cc
@@ -4,6 +4,8 @@
#include "remoting/host/ipc_audio_capturer.h"
+#include <utility>
+
#include "remoting/host/desktop_session_proxy.h"
#include "remoting/proto/audio.pb.h"
@@ -28,7 +30,7 @@ bool IpcAudioCapturer::Start(const PacketCapturedCallback& callback) {
}
void IpcAudioCapturer::OnAudioPacket(scoped_ptr<AudioPacket> packet) {
- callback_.Run(packet.Pass());
+ callback_.Run(std::move(packet));
}
} // namespace remoting