[Kst] branches/work/kst/portto4/kst/src/datasources/ascii
Peter Kümmel
syntheticpp at gmx.net
Tue Jul 27 08:59:28 CEST 2010
SVN commit 1155278 by kuemmel:
AsciiPlugin: add comment about pre-allocated capacity
M +1 -0 asciisource.cpp
--- branches/work/kst/portto4/kst/src/datasources/ascii/asciisource.cpp #1155277:1155278
@@ -172,6 +172,7 @@
bool AsciiSource::initRowIndex()
{
+ // capacity is at least the pre-allocated memory
_rowIndex.resize(_rowIndex.capacity());
_rowIndex[0] = 0;
More information about the Kst
mailing list