[libcamera-devel] [PATCH 0/2] libcamera: Fix Span reverse iterators

Laurent Pinchart laurent.pinchart at ideasonboard.com
Tue Apr 13 02:27:29 CEST 2021


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(-)

-- 
Regards,

Laurent Pinchart



More information about the libcamera-devel mailing list