aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Partitioning.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Partitioning.h')
-rw-r--r--src/Partitioning.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Partitioning.h b/src/Partitioning.h
index 165672a15..da68dfb56 100644
--- a/src/Partitioning.h
+++ b/src/Partitioning.h
@@ -17,7 +17,7 @@ namespace Scintilla::Internal {
template <typename T>
class SplitVectorWithRangeAdd : public SplitVector<T> {
public:
- explicit SplitVectorWithRangeAdd(ptrdiff_t growSize_) {
+ explicit SplitVectorWithRangeAdd(ptrdiff_t growSize_=8) {
this->SetGrowSize(growSize_);
this->ReAllocate(growSize_);
}
@@ -94,7 +94,7 @@ private:
}
public:
- explicit Partitioning(int growSize) : stepPartition(0), stepLength(0) {
+ explicit Partitioning(size_t growSize=8) : stepPartition(0), stepLength(0) {
Allocate(growSize);
}