summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/camera_manager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libcamera/camera_manager.h b/include/libcamera/camera_manager.h
index 15e7c162..6cfcba3c 100644
--- a/include/libcamera/camera_manager.h
+++ b/include/libcamera/camera_manager.h
@@ -7,6 +7,7 @@
#ifndef __LIBCAMERA_CAMERA_MANAGER_H__
#define __LIBCAMERA_CAMERA_MANAGER_H__
+#include <memory>
#include <string>
#include <vector>
@@ -37,7 +38,7 @@ private:
void operator=(const CameraManager &) = delete;
~CameraManager();
- DeviceEnumerator *enumerator_;
+ std::unique_ptr<DeviceEnumerator> enumerator_;
std::vector<PipelineHandler *> pipes_;
EventDispatcher *dispatcher_;