summaryrefslogtreecommitdiff
path: root/src/lc-compliance/main.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-07-20 00:17:38 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-07-20 13:25:02 +0300
commitb0b66214892ff566c0f4342bb28eaacb1cfa8d68 (patch)
tree5053ec529564c3eb9cad6506452d9b985b576fcc /src/lc-compliance/main.cpp
parent38136f9e11d1e1af3880bc3382e97e5a7250568d (diff)
test: control_list: Use get() to test for control presence
Now that the ControlList::get() function returns an std::optional<>, it is the preferred way to test if a control is present in a ControlList. Use it in the test to prepare for removal of ControlList::contains(). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'src/lc-compliance/main.cpp')
0 files changed, 0 insertions, 0 deletions