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:
parent
9a61a13466
commit
acf18e4265
22 changed files with 29 additions and 49 deletions
|
@ -380,7 +380,7 @@ void V4L2Device::listControls()
|
|||
continue;
|
||||
}
|
||||
|
||||
controlIds_.emplace_back(utils::make_unique<V4L2ControlId>(ctrl));
|
||||
controlIds_.emplace_back(std::make_unique<V4L2ControlId>(ctrl));
|
||||
ctrls.emplace(controlIds_.back().get(), V4L2ControlRange(ctrl));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue