diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-06-28 01:37:03 +0200 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-06-28 14:25:46 +0200 |
commit | d130c55073231a29ba9590dd3f13094abc7c5cad (patch) | |
tree | a03bc99acccf32d8b34c670d04ab98a636ac43b8 /src/v4l2/v4l2_compat.cpp | |
parent | 1e0cd804f07d126af2e248a54dbb4042d861487b (diff) |
libcamera: ipu3: imgu: Use unique_ptr for video and subdevices
Instead of manually deleting the video and subdevices in the destructor
use std::unique_ptr.
Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/v4l2/v4l2_compat.cpp')
0 files changed, 0 insertions, 0 deletions