summaryrefslogtreecommitdiff
path: root/src/editor.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/editor.hh')
-rw-r--r--src/editor.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/editor.hh b/src/editor.hh
index bf70af70..0104d43d 100644
--- a/src/editor.hh
+++ b/src/editor.hh
@@ -50,7 +50,7 @@ public:
void insert(const String& string,
InsertMode mode = InsertMode::Insert);
- void insert(const memoryview<String>& strings,
+ void insert(memoryview<String> strings,
InsertMode mode = InsertMode::Insert);
void move_selections(LineCount move,
@@ -126,7 +126,7 @@ public:
~IncrementalInserter();
void insert(String content);
- void insert(const memoryview<String>& strings);
+ void insert(memoryview<String> strings);
void erase();
void move_cursors(CharCount move);
void move_cursors(LineCount move);