summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_compat.cpp
diff options
context:
space:
mode:
authorBarnabás Pőcze <pobrn@protonmail.com>2024-12-09 10:04:17 +0000
committerBarnabás Pőcze <pobrn@protonmail.com>2024-12-09 13:52:39 +0100
commit65dd707f7492d63a79f069422f9c3f351e1c7dfb (patch)
tree03004749b3b86dd2324892fce3c3af3868b4dc46 /src/v4l2/v4l2_compat.cpp
parent3930b9402110472ef2e8d4a997f4ebc4925e864b (diff)
libcamera: libipa: camera_sensor_helper: Use `variant` instead of `union`
Use an `std::variant` to store the analogue gain instead of a bare union + tag. Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/v4l2/v4l2_compat.cpp')
0 files changed, 0 insertions, 0 deletions