Fix assert that doesn't check anything.
Move the assert that checks for the end iterator inside the loop which actually moves over the elements. This allows it to check that the iteration stays within the range.
Loading
Please sign in to comment