mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-16 17:05:08 +03:00
libcamera: Utilise LIBCAMERA_DISABLE_COPY
Replace existing use cases where the copy constructor and copy assignment operator are deleted with the LIBCAMERA_DISABLE_COPY statement Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
83c5a2a7aa
commit
640f48d603
11 changed files with 32 additions and 26 deletions
|
@ -15,6 +15,7 @@
|
|||
#include <sys/types.h>
|
||||
#include <vector>
|
||||
|
||||
#include <libcamera/class.h>
|
||||
#include <libcamera/controls.h>
|
||||
#include <libcamera/object.h>
|
||||
#include <libcamera/stream.h>
|
||||
|
@ -49,8 +50,7 @@ public:
|
|||
std::unique_ptr<IPAProxy> ipa_;
|
||||
|
||||
private:
|
||||
CameraData(const CameraData &) = delete;
|
||||
CameraData &operator=(const CameraData &) = delete;
|
||||
LIBCAMERA_DISABLE_COPY(CameraData)
|
||||
};
|
||||
|
||||
class PipelineHandler : public std::enable_shared_from_this<PipelineHandler>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue