mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-24 09:05:06 +03:00
libcamera: controls: Add move constructor to ControlInfoMap
The ControlInfoMap class has a move assignment operator from a plain map, but no corresponding move constructor. Add one. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
parent
e89c2b2295
commit
6d492c2d75
2 changed files with 14 additions and 0 deletions
|
@ -147,6 +147,7 @@ public:
|
|||
ControlInfoMap() = default;
|
||||
ControlInfoMap(const ControlInfoMap &other) = default;
|
||||
ControlInfoMap(std::initializer_list<Map::value_type> init);
|
||||
ControlInfoMap(Map &&info);
|
||||
|
||||
ControlInfoMap &operator=(const ControlInfoMap &other) = default;
|
||||
ControlInfoMap &operator=(std::initializer_list<Map::value_type> init);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue