summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libcamera/camera.h2
-rw-r--r--include/libcamera/camera_manager.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/libcamera/camera.h b/include/libcamera/camera.h
index a2ded62d..5ad8a09f 100644
--- a/include/libcamera/camera.h
+++ b/include/libcamera/camera.h
@@ -23,7 +23,7 @@ public:
const std::string &name);
Camera(const Camera &) = delete;
- void operator=(const Camera &) = delete;
+ Camera &operator=(const Camera &) = delete;
const std::string &name() const;
diff --git a/include/libcamera/camera_manager.h b/include/libcamera/camera_manager.h
index 56dbd26f..cf3a85ae 100644
--- a/include/libcamera/camera_manager.h
+++ b/include/libcamera/camera_manager.h
@@ -38,7 +38,7 @@ public:
private:
CameraManager();
CameraManager(const CameraManager &) = delete;
- void operator=(const CameraManager &) = delete;
+ CameraManager &operator=(const CameraManager &) = delete;
~CameraManager();
std::unique_ptr<DeviceEnumerator> enumerator_;