]> OCCT Git - occt-copy.git/commit
0026448: Method Prepend() of sequence breaks it if argument is empty sequence
authorabv <abv@opencascade.com>
Wed, 15 Jul 2015 21:34:02 +0000 (00:34 +0300)
committerabv <abv@opencascade.com>
Fri, 21 Aug 2015 07:58:45 +0000 (10:58 +0300)
commite5db9d8f50633792f4c5511f38797c2005424720
treeb9094308c42b7fe06533ebea960723641b0f3253
parent72d472e0c7287b0eb1da59fbec493ad0e9814c50
0026448: Method Prepend() of sequence breaks it if argument is empty sequence

Check for empty input sequence added in methods Append() and Prepend() of TCollection and NCollection sequences.

Test bugs fclasses bug26448 added
src/NCollection/NCollection_BaseSequence.cxx
src/QABugs/QABugs_19.cxx
src/TCollection/TCollection_BaseSequence.cxx
tests/bugs/fclasses/bug26448 [new file with mode: 0644]