diff options
Diffstat (limited to 'src/editor.cc')
| -rw-r--r-- | src/editor.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/editor.cc b/src/editor.cc index eed0fbe2..c03fd396 100644 --- a/src/editor.cc +++ b/src/editor.cc @@ -93,7 +93,7 @@ void Editor::insert(const String& str, InsertMode mode) check_invariant(); } -void Editor::insert(const memoryview<String>& strings, InsertMode mode) +void Editor::insert(memoryview<String> strings, InsertMode mode) { scoped_edition edition(*this); if (strings.empty()) @@ -542,7 +542,7 @@ void IncrementalInserter::insert(String content) } } -void IncrementalInserter::insert(const memoryview<String>& strings) +void IncrementalInserter::insert(memoryview<String> strings) { auto& buffer = m_editor.buffer(); for (size_t i = 0; i < m_editor.m_selections.size(); ++i) |
