summaryrefslogtreecommitdiff
path: root/Documentation/theme/static
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-09-09 17:18:03 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-09-13 20:13:24 +0300
commite832a00bab6153e4bc3044dc413cee24e5181498 (patch)
tree57dc9120c42d2562711a98996110746c3b947a84 /Documentation/theme/static
parent7516d410803309b42f45865eac6dec1a157e1976 (diff)
libcamera: device_enumerator_udev: Avoid double list lookup
DeviceEnumeratorUdev::populateMediaDevice() searches for orphan devices in an std::list, and if found removes them using std::list::remove(). This ends up looking up the entry twice. Replace the remove() call with erase() to fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'Documentation/theme/static')
0 files changed, 0 insertions, 0 deletions