diff options
author | Barnabás Pőcze <barnabas.pocze@ideasonboard.com> | 2025-04-16 21:44:25 +0200 |
---|---|---|
committer | Barnabás Pőcze <barnabas.pocze@ideasonboard.com> | 2025-04-21 16:24:16 +0200 |
commit | 3e4de5f54e9c60de9808fc49ff5783b899c9b8b8 (patch) | |
tree | 34979c6701165719c5e0b80219615b662ef41d34 /utils/ipc | |
parent | 83543f08d528ab600300f347d26d8e79f2829730 (diff) |
apps: cam: capture_script: Simplify bool array parsing
`std::vector<bool>` is a specialization that implements a dynamic
bit vector, therefore it is not suitable to provide storage for
an array of `bool`. Hence a statically sized array is used when
parsing an array of boolean values.
Instead, use the array overload of `std::make_unique` since the
size is known beforehand.
Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'utils/ipc')
0 files changed, 0 insertions, 0 deletions