mirror of
https://github.com/catchorg/Catch2.git
synced 2026-08-22 21:33:21 +02:00
The forward iteration logic already bounds-check for m_it != m_string->end(), do the same for the backward iteration. The issue with the assert is that the assert() might not be compiled in, and it is happening after the dereference, so it was too late.