diff options
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 2847108fa..46cdc2bbb 100644 --- a/src/SplitVector.h +++ b/src/SplitVector.h @@ -175,7 +175,7 @@ public: } /// Insert text into the buffer from an array. - void InsertFromArray(int positionToInsert, T s[], int positionFrom, int insertLength) { + void InsertFromArray(int positionToInsert, const T s[], int positionFrom, int insertLength) { if (insertLength > 0) { if ((positionToInsert < 0) || (positionToInsert > lengthBody)) { return; |