[libcamera-devel,0/2] libcamera: Fix Span reverse iterators
mbox series

Message ID 20210413002731.25653-1-laurent.pinchart@ideasonboard.com
Headers show
Series
  • libcamera: Fix Span reverse iterators
Related show

Message

Laurent Pinchart April 13, 2021, 12:27 a.m. UTC
Hello,

This small series fixes a bug in the Span reverse iterators. It starts
with an update of the unit test to expose the bug, and then fixes it.

Laurent Pinchart (2):
  test: span: Add tests for begin() and rend()
  libcamera: span: Fix reverse iterators

 include/libcamera/span.h |  8 ++++----
 test/span.cpp            | 40 ++++++++++++++++++++++++++++++++--------
 2 files changed, 36 insertions(+), 12 deletions(-)