summaryrefslogtreecommitdiff
path: root/include/libcamera/controls.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/controls.h')
-rw-r--r--include/libcamera/controls.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/libcamera/controls.h b/include/libcamera/controls.h
index d8acd800..342251c2 100644
--- a/include/libcamera/controls.h
+++ b/include/libcamera/controls.h
@@ -40,6 +40,12 @@ public:
std::string toString() const;
+ bool operator==(const ControlValue &other) const;
+ bool operator!=(const ControlValue &other) const
+ {
+ return !(*this == other);
+ }
+
private:
ControlType type_;