mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-26 01:55:51 +03:00
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
|
@ -20,7 +20,6 @@
|
|||
#include "libipa/ipa_interface_wrapper.h"
|
||||
|
||||
#include "log.h"
|
||||
#include "utils.h"
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
|
@ -113,7 +112,7 @@ const struct IPAModuleInfo ipaModuleInfo = {
|
|||
|
||||
struct ipa_context *ipaCreate()
|
||||
{
|
||||
return new IPAInterfaceWrapper(utils::make_unique<IPAVimc>());
|
||||
return new IPAInterfaceWrapper(std::make_unique<IPAVimc>());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ namespace libcamera {
|
|||
*
|
||||
* struct ipa_context *ipaCreate()
|
||||
* {
|
||||
* return new IPAInterfaceWrapper(utils::make_unique<MyIPA>());
|
||||
* return new IPAInterfaceWrapper(std::make_unique<MyIPA>());
|
||||
* }
|
||||
* \endcode
|
||||
*
|
||||
|
|
|
@ -278,7 +278,7 @@ const struct IPAModuleInfo ipaModuleInfo = {
|
|||
|
||||
struct ipa_context *ipaCreate()
|
||||
{
|
||||
return new IPAInterfaceWrapper(utils::make_unique<IPARkISP1>());
|
||||
return new IPAInterfaceWrapper(std::make_unique<IPARkISP1>());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue