mirror of
https://github.com/opencv/opencv.git
synced 2026-11-16 06:17:53 -06:00
Calling resize(size() - 1) in pop_back() pulls in the buffer growth path for the unreachable sz == 0 case in release builds (where size() - 1 underflows to SIZE_MAX), which both bloats codegen and triggers an LLVM ScalarEvolution assertion on 32-bit Hexagon Clang. Guard and decrement sz directly instead.