diff options
author | Mattijs Korpershoek <mkorpershoek@baylibre.com> | 2023-04-05 10:14:31 +0200 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2023-04-20 10:54:12 +0100 |
commit | 683c6da83f078d09fc020d2b48a4abe471853b2b (patch) | |
tree | ece8c930921a87c2e9ffa012bba47c953d2cf14a /subprojects/pybind11.wrap | |
parent | 3dc2605bda52b627f6e009ef4a3c8360d00e358a (diff) |
test: controls: control_info_map: Test default constructor
ControlInfoMap can be default-constructed. In that case, some of its
members (like idmap_) can be a nullptr, and ControlInfoMap.find() will segfault.
Add a test with a default constructed ControlInfoMap to cover this.
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'subprojects/pybind11.wrap')
0 files changed, 0 insertions, 0 deletions