Closed cliffburdick closed 1 month ago
As far as I can tell the test that failed has nothing to do with this PR. Can anyone take a look?
Wouldn't it possibly be better to turn the assert into a failure that always triggers? Letting it fall through in release mode seems unideal, even though that's what's happening now.
Wouldn't it possibly be better to turn the assert into a failure that always triggers? Letting it fall through in release mode seems unideal, even though that's what's happening now.
Hi @henryiii , I refactored it to do what you suggested.
Thanks for sticking with it!
Closes #4822
Description
Issue #4822 reported an issue Coverity found with an unchecked iterator in release mode. gcc13 also finds this by default and reports a warning.
Suggested changelog entry: