diff options
author | Neil <nyamatongwe@gmail.com> | 2022-07-29 09:52:43 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2022-07-29 09:52:43 +1000 |
commit | 5218b62655b877af64f9980efa668a1dcb82ed43 (patch) | |
tree | 4a7eefd6dc0d9cad93e49e7e903fe16d272ae822 /src/SplitVector.h | |
parent | 2a5ffea80aacbd6353f4462300e42c8d55ac19e9 (diff) | |
download | scintilla-mirror-5218b62655b877af64f9980efa668a1dcb82ed43.tar.gz |
Add growSize argument to SplitVector constructor with default value so can be
used more simply.
Add default value to growSize argument of Partitioning to enable default
construction.
Diffstat (limited to 'src/SplitVector.h')
-rw-r--r-- | src/SplitVector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SplitVector.h b/src/SplitVector.h index adaa8eeb8..d0823b0b6 100644 --- a/src/SplitVector.h +++ b/src/SplitVector.h @@ -71,7 +71,7 @@ protected: public: /// Construct a split buffer. - SplitVector() : empty(), lengthBody(0), part1Length(0), gapLength(0), growSize(8) { + SplitVector(size_t growSize_=8) : empty(), lengthBody(0), part1Length(0), gapLength(0), growSize(growSize_) { } // Deleted so SplitVector objects can not be copied. |