libcamera: Switch from utils::make_unique to std::make_unique
Now that we're using C++-14, drop utils::make_unique for std::make_unique. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
@@ -414,7 +414,7 @@ ControlInfoMap ControlSerializer::deserialize<ControlInfoMap>(ByteStreamBuffer &
|
||||
* \todo Find a way to preserve the control name for debugging
|
||||
* purpose.
|
||||
*/
|
||||
controlIds_.emplace_back(utils::make_unique<ControlId>(entry.id, "", type));
|
||||
controlIds_.emplace_back(std::make_unique<ControlId>(entry.id, "", type));
|
||||
|
||||
if (entry.offset != values.offset()) {
|
||||
LOG(Serializer, Error)
|
||||
|
||||
Reference in New Issue
Block a user