mirror of
https://github.com/catchorg/Catch2.git
synced 2026-06-06 10:25:55 -04:00
69e0473f6e
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.