summaryrefslogtreecommitdiff
path: root/src/editor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/editor.cc')
-rw-r--r--src/editor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/editor.cc b/src/editor.cc
index a9a326c5..2567d599 100644
--- a/src/editor.cc
+++ b/src/editor.cc
@@ -319,9 +319,9 @@ void IncrementalInserter::insert(const String& string)
apply(Modification::make_insert(sel.begin(), string));
}
-void IncrementalInserter::insert(const Register& reg)
+void IncrementalInserter::insert(const memoryview<String>& strings)
{
- m_editor.insert(reg);
+ m_editor.insert(strings);
}
void IncrementalInserter::erase()