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>
This commit is contained in:
Laurent Pinchart 2022-07-20 00:27:37 +03:00
parent b0b6621489
commit 4d22621ec1
2 changed files with 4 additions and 12 deletions

View file

@ -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>