summaryrefslogtreecommitdiff
path: root/event_loop.cpp
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2021-08-23 14:43:54 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-08-25 21:39:22 +0100
commit83a9aa8ccb766b6b73b87a1b29455a9681cc6d97 (patch)
treecff08a9507e6877c967f98e3f567f9f691f14001 /event_loop.cpp
parent37a69b35beb0b0d5f3fa9e49cf89d990e9970be3 (diff)
simple-cam: Use a unique_ptr for the CameraManager
The CameraManager should be released when it is no longer used. A unique_ptr will handle this automatically, and convey the lifetime of the object. Update simple-cam to show that managing the lifetime of the CameraManager is recommended practice. Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'event_loop.cpp')
0 files changed, 0 insertions, 0 deletions