summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-07-20 00:27:37 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-07-20 13:25:04 +0300
commit4d22621ec11a065b1819f6268335cae81dd50986 (patch)
treebfbca9db9689c3b223da05d7e35b69f4dc182407 /include
parentb0b66214892ff566c0f4342bb28eaacb1cfa8d68 (diff)
libcamera: controls: Drop ControlList::contains()
The ControlList::contains(const ControlId &id) function isn't used, as it has been replaced by usage of the get() function. Document get as being the preferred way to check for the presence of a control in a ControlList, and drop the contains() function. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/controls.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/libcamera/controls.h b/include/libcamera/controls.h
index 192be784..85a56e62 100644
--- a/include/libcamera/controls.h
+++ b/include/libcamera/controls.h
@@ -370,7 +370,6 @@ public:
void clear() { controls_.clear(); }
void merge(const ControlList &source);
- bool contains(const ControlId &id) const;
bool contains(unsigned int id) const;
template<typename T>