diff options
author | Hirokazu Honda <hiroh@chromium.org> | 2021-03-24 16:07:52 +0900 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-03-25 00:45:26 +0200 |
commit | 1636d4c4384b8e0db870b606aa946ec9b74d0f03 (patch) | |
tree | 10c5023dbe2be706741a08843f20385b4100bb71 /test/libtest/camera_test.h | |
parent | 10518882f380e07deefa762f915344dd7d3ec87f (diff) |
android: CameraHalManager: Fix a function call of a moved Camera
libcamera::Camera::id() is called after std::move() in
cameraAdded(). This fixes the issue by not executing std::move().
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 'test/libtest/camera_test.h')
0 files changed, 0 insertions, 0 deletions