summaryrefslogtreecommitdiff
path: root/src/android/camera_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/android/camera_buffer.h')
-rw-r--r--src/android/camera_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/camera_buffer.h b/src/android/camera_buffer.h
index 21373fa2..c4e3a9e7 100644
--- a/src/android/camera_buffer.h
+++ b/src/android/camera_buffer.h
@@ -32,7 +32,7 @@ public:
#define PUBLIC_CAMERA_BUFFER_IMPLEMENTATION \
CameraBuffer::CameraBuffer(buffer_handle_t camera3Buffer, int flags) \
- : Extensible(new Private(this, camera3Buffer, flags)) \
+ : Extensible(std::make_unique<Private>(this, camera3Buffer, flags)) \
{ \
} \
CameraBuffer::~CameraBuffer() \