From 4d22621ec11a065b1819f6268335cae81dd50986 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 20 Jul 2022 00:27:37 +0300 Subject: 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 Reviewed-by: Jacopo Mondi Reviewed-by: Umang Jain --- include/libcamera/controls.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.1