diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-05-02 16:17:31 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-05-03 04:32:30 +0300 |
commit | 3697c93a8d720a01167bb6f6ec3846de561d2e7a (patch) | |
tree | 13f484f5bd9402d004a263f339e7feb2334197ec /test/span.cpp | |
parent | db7f214547143a6c8496f4e725a35c9bf0b07133 (diff) |
libcamera: camera_sensor: Store subdevice in std::unique_ptr
Avoid the need for a manual delete in the destructor by using a unique
pointer.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/span.cpp')
0 files changed, 0 insertions, 0 deletions