diff options
Diffstat (limited to 'include/libcamera/camera.h')
-rw-r--r-- | include/libcamera/camera.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/libcamera/camera.h b/include/libcamera/camera.h index cff9f46e..bd81fb54 100644 --- a/include/libcamera/camera.h +++ b/include/libcamera/camera.h @@ -81,9 +81,6 @@ public: const std::string &id, const std::set<Stream *> &streams); - Camera(const Camera &) = delete; - Camera &operator=(const Camera &) = delete; - const std::string &id() const; Signal<Request *, FrameBuffer *> bufferCompleted; @@ -107,6 +104,8 @@ public: int stop(); private: + LIBCAMERA_DISABLE_COPY(Camera) + Camera(PipelineHandler *pipe, const std::string &id, const std::set<Stream *> &streams); ~Camera(); |