Further [#METR-20892].

This commit is contained in:
Alexey Milovidov 2016-04-15 05:32:52 +03:00
parent afec861029
commit 5afa69c5f8

View File

@ -170,9 +170,7 @@ public:
size_t size = src.sizeAt(n);
size_t offset = src.offsetAt(n);
for (size_t i = 0; i < size; ++i)
data->insertFrom(src.getData(), offset + i);
data->insertRangeFrom(src.getData(), offset, size);
getOffsets().push_back((getOffsets().size() == 0 ? 0 : getOffsets().back()) + size);
}