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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user