diff options
author | Hirokazu Honda <hiroh@chromium.org> | 2021-03-24 16:07:53 +0900 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-03-25 00:45:26 +0200 |
commit | 9538ce4cc65af347f457dee52ae6344119cc0be2 (patch) | |
tree | a7c067aeb70ab5d705426add1194d753d402324a /Documentation/coding-style.rst | |
parent | 1636d4c4384b8e0db870b606aa946ec9b74d0f03 (diff) |
android: CameraDevice: Take shared_ptr in constructor
CameraDevice takes the ownership of Camera. Therefore,
shared_ptr would rather be used than const shared_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 'Documentation/coding-style.rst')
0 files changed, 0 insertions, 0 deletions