summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/controls.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/libcamera/controls.h b/include/libcamera/controls.h
index 3b7f3347..1a5690a5 100644
--- a/include/libcamera/controls.h
+++ b/include/libcamera/controls.h
@@ -14,6 +14,7 @@
#include <unordered_map>
#include <vector>
+#include <libcamera/class.h>
#include <libcamera/geometry.h>
#include <libcamera/span.h>
@@ -220,8 +221,7 @@ public:
ControlType type() const { return type_; }
private:
- ControlId &operator=(const ControlId &) = delete;
- ControlId(const ControlId &) = delete;
+ LIBCAMERA_DISABLE_COPY_AND_MOVE(ControlId)
unsigned int id_;
std::string name_;
@@ -260,8 +260,7 @@ public:
}
private:
- Control(const Control &) = delete;
- Control &operator=(const Control &) = delete;
+ LIBCAMERA_DISABLE_COPY_AND_MOVE(Control)
};
class ControlInfo