diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-18 01:49:17 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-21 11:13:45 +0200 |
commit | 32bf7ef239c1310fba638f35046b0f7eb13b32bf (patch) | |
tree | 9a3134f5b3b255c47d3e4d3520af983fab1873d0 /test/v4l2_device/double_open.cpp | |
parent | 0908669834c459bca0c52ac951ede84126f2546d (diff) |
libcamera: camera_manager: Use std::unique_ptr to store event dispatcher
The CameraManager takes ownership of the dispatcher passed to the
setEventDispatcher() function. Enforces this by using std::unique_ptr<>.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/v4l2_device/double_open.cpp')
0 files changed, 0 insertions, 0 deletions