diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-06-29 18:35:48 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-06-29 18:35:48 +0200 |
| commit | 5b2ef1da6aecb82cf549e4b17e246149e4ad9968 (patch) | |
| tree | 0a4db48dff2f822b45165b999624cb46921f3941 /src/editor.cc | |
| parent | 7aa533c04904a8be36354e5896891f672ba3a40f (diff) | |
IncrementalInsertor::insert takes a memoryview<String> rather than a Register
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 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() |
