summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/controls.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/libcamera/controls.h b/include/libcamera/controls.h
index 5e6708fe..ebc4204f 100644
--- a/include/libcamera/controls.h
+++ b/include/libcamera/controls.h
@@ -68,11 +68,12 @@ protected:
: id_(id), name_(name), type_(type)
{
}
+#ifndef __DOXYGEN__
+ ControlId &operator=(const ControlId &) = default;
+ ControlId(const ControlId &) = default;
+#endif
private:
- ControlId(const ControlId &) = delete;
- ControlId &operator=(const ControlId &) = delete;
-
unsigned int id_;
std::string name_;
ControlType type_;