diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-10-04 03:12:35 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-09-05 16:12:35 +0300 |
commit | 481fc69e7cfee17782a3086e51c9b86daa80a37d (patch) | |
tree | 22c443988dca2b0aeb10fc9e96dab023cc38e082 /test/event-dispatcher.cpp | |
parent | 8161018b9b2a161b83072d5ddec7658079850c21 (diff) |
libcamera: utils: Add ScopeExitActions class
The ScopeExitActions class is a simple object that performs
user-provided actions upon destruction. It is meant to simplify cleanup
tasks in error handling paths.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Xavier Roumegue <xavier.roumegue@oss.nxp.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'test/event-dispatcher.cpp')
0 files changed, 0 insertions, 0 deletions