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:
@@ -1054,7 +1054,7 @@ V4L2VideoDevice::createBuffer(const struct v4l2_buffer &buf)
|
||||
planes.push_back(std::move(plane));
|
||||
}
|
||||
|
||||
return utils::make_unique<FrameBuffer>(std::move(planes));
|
||||
return std::make_unique<FrameBuffer>(std::move(planes));
|
||||
}
|
||||
|
||||
FileDescriptor V4L2VideoDevice::exportDmabufFd(unsigned int index,
|
||||
|
||||
Reference in New Issue
Block a user