diff options
author | Hirokazu Honda <hiroh@chromium.org> | 2021-03-24 16:07:57 +0900 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-03-25 00:45:27 +0200 |
commit | f101cc6878112d6587692913078f5656372c2e25 (patch) | |
tree | 10e4bcc675fcd20de534dbbdbbe83312f88064c6 /src/gstreamer/gstlibcamera-utils.cpp | |
parent | dca709c44aeb0d6532edf3000f701f5d988c5116 (diff) |
android: CameraDevice: Manage requestTemplates_ with std::unique_ptr
CameraMetadata stored in requestTemplates_ in CameraDevice is
not necessary to be a raw pointer. This reduces the manual
new/delete code by changing the type to std::unique_ptr.
Signed-off-by: Hirokazu Honda <hiroh@chromium.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/gstreamer/gstlibcamera-utils.cpp')
0 files changed, 0 insertions, 0 deletions