Fix ByteVector to return correct iterators after detached.

This commit is contained in:
Tsuda Kageyu
2015-04-29 10:28:08 +09:00
parent 5bad35c4cb
commit ab047f6054
2 changed files with 10 additions and 8 deletions

View File

@ -319,6 +319,10 @@ public:
*it4 = 'A';
CPPUNIT_ASSERT_EQUAL('a', *it3);
CPPUNIT_ASSERT_EQUAL('A', *it4);
ByteVector v3;
v3 = ByteVector("taglib").mid(3);
CPPUNIT_ASSERT_EQUAL('l', *v3.begin());
}
};