commit | 5650bbca765aad858589beb2e817bf7a449cd4a9 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Sun Sep 11 14:43:53 2016 -0700 |
committer | Elliott Hughes <enh@google.com> | Mon Sep 12 10:00:28 2016 -0700 |
tree | 9006ce3df082eb1c8843844965d977f60085b090 | |
parent | 133d0c3dad8c28f1e51088bf9f693da0e8a3c840 [diff] [blame] |
Switch CTS to std::unique_ptr. Bug: http://b/22403888 Change-Id: Ia5eca3b1574b2b87202b876533e01540434e1009
diff --git a/suite/audio_quality/lib/src/SignalProcessingImpl.h b/suite/audio_quality/lib/src/SignalProcessingImpl.h index 29b410e..2b8b8e0 100644 --- a/suite/audio_quality/lib/src/SignalProcessingImpl.h +++ b/suite/audio_quality/lib/src/SignalProcessingImpl.h
@@ -17,7 +17,7 @@ #ifndef CTSAUDIO_SIGNALPROCESSINGIMPL_H #define CTSAUDIO_SIGNALPROCESSINGIMPL_H -#include <UniquePtr.h> +#include <memory> #include <utils/String8.h> #include "SignalProcessingInterface.h" @@ -46,7 +46,7 @@ private: static const int SCRIPT_PORT = 15010; - UniquePtr<ClientSocket> mSocket; + std::unique_ptr<ClientSocket> mSocket; pid_t mChildPid; bool mChildRunning; RWBuffer mBuffer;