inline void Vector<T, inlineCapacity>::remove(size_t position, size_t length) { ASSERT(position < size()); ASSERT(position + length < size()); T* beginSpot = begin() + position; .... Should be: inline void Vector<T, inlineCapacity>::remove(size_t position, size_t length) { ASSERT(position < size()); ASSERT(position + length <= size()); T* beginSpot = begin() + position; ....
Created attachment 33137 [details] Patch that makes the assertion check for <= instead of just <.
commited with revision 46147