diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-15 15:30:48 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-16 18:23:43 +0200 |
commit | a2f095947f847cb7d3f058a74514109928b1df9f (patch) | |
tree | 1f0acdd864813b819b2ad97e916e87d45d1db892 /test/media_device/media_device_link_test.cpp | |
parent | f388aa7041d90cbc957e33ff90a5122a3c5237e6 (diff) |
libcamera: utils: Implement C++14 make_unique<>()
C++14 introduces std::make_unique<>() that makes it easier to initialize
unique_ptr<> instances. As libcamera is limited to C++11, implement our
own version of the function in the libcamera::utils namespace.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/media_device/media_device_link_test.cpp')
0 files changed, 0 insertions, 0 deletions