mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-21 03:15:06 +03:00
libcamera: controls: Default ControlList validator argument to nullptr
The ControlList constructor takes a validator pointer that can be null. Set its default value to nullptr to simplify code in users of ControlList. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Tested-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
parent
273b87c781
commit
a1772d44e8
3 changed files with 3 additions and 3 deletions
|
@ -126,7 +126,7 @@ private:
|
|||
using ControlListMap = std::unordered_map<const ControlId *, ControlValue>;
|
||||
|
||||
public:
|
||||
ControlList(ControlValidator *validator);
|
||||
ControlList(ControlValidator *validator = nullptr);
|
||||
|
||||
using iterator = ControlListMap::iterator;
|
||||
using const_iterator = ControlListMap::const_iterator;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue