diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-04-13 02:40:40 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-04-15 22:23:02 +0300 |
commit | 1ad214dd1b353e79923ec6d6dfd4246759e99407 (patch) | |
tree | 230b68485c32562078b19730cd4348bf24210f42 /test/controls/control_info.cpp | |
parent | c244d07286e4010ee884eeea6f8e67fa5d1ff3cb (diff) |
libcamera: span: Fix reverse iterators
std::reverse_iterator<iterator> is constructed from an instance of
iterator, and automatically subtracts 1 when dereferencing. rbegin() and
rend() should thus be constructed from end() and begin() respectively.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/controls/control_info.cpp')
0 files changed, 0 insertions, 0 deletions