summaryrefslogtreecommitdiff
path: root/src/android
diff options
context:
space:
mode:
Diffstat (limited to 'src/android')
-rw-r--r--src/android/camera_hal_manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/android/camera_hal_manager.h b/src/android/camera_hal_manager.h
index db9354a7..3f6d302a 100644
--- a/src/android/camera_hal_manager.h
+++ b/src/android/camera_hal_manager.h
@@ -17,6 +17,8 @@
#include <hardware/hardware.h>
#include <system/camera_metadata.h>
+#include <libcamera/base/class.h>
+
#include <libcamera/camera_manager.h>
#include "camera_hal_config.h"
@@ -40,6 +42,8 @@ public:
void setCallbacks(const camera_module_callbacks_t *callbacks);
private:
+ LIBCAMERA_DISABLE_COPY_AND_MOVE(CameraHalManager)
+
using Mutex = std::mutex;
using MutexLocker = std::unique_lock<std::mutex>;