Merge pull request #5315 from elenash:core_remove_slice

pull/5290/head
Vadim Pisarevsky 9 years ago
commit f3af90c6c7
  1. 3
      modules/core/src/datastructs.cpp

@ -1689,6 +1689,9 @@ cvSeqRemoveSlice( CvSeq* seq, CvSlice slice )
slice.end_index = slice.start_index + length;
if ( slice.start_index == slice.end_index )
return;
if( slice.end_index < total )
{
CvSeqReader reader_to, reader_from;

Loading…
Cancel
Save