diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-07-26 01:17:12 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-07-26 01:50:36 +0200 |
| commit | eedd37c09acace58ceadacf8ecf9e883a2fd5a4a (patch) | |
| tree | ab3123463bd9b54ef61d74012abc49313572331b /src/editor.hh | |
| parent | 3862b5cbb8faf1514ed8a8fc413669414e7c614d (diff) | |
memoryview: always pass by value
Diffstat (limited to 'src/editor.hh')
| -rw-r--r-- | src/editor.hh | 4 |
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); |
