summaryrefslogtreecommitdiff
path: root/src/editor.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2012-10-13 18:31:29 +0200
committerMaxime Coste <frrrwww@gmail.com>2012-10-13 19:05:14 +0200
commitdfafcdb6e6b52ebdd5b664b7561e682c32762663 (patch)
treefd94329d686633260b7ec9dd4162287eb6225898 /src/editor.cc
parent4f1ab5b74935d3250c41bbee5f347ec4f815063c (diff)
utf8::codepoint: configurable invalid byte policy
Diffstat (limited to 'src/editor.cc')
-rw-r--r--src/editor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editor.cc b/src/editor.cc
index 1a4cfdb7..cee14eda 100644
--- a/src/editor.cc
+++ b/src/editor.cc
@@ -335,7 +335,7 @@ void Editor::end_edition()
--m_edition_level;
}
-using utf8_it = utf8::utf8_iterator<BufferIterator>;
+using utf8_it = utf8::utf8_iterator<BufferIterator, utf8::InvalidBytePolicy::Pass>;
IncrementalInserter::IncrementalInserter(Editor& editor, InsertMode mode)
: m_editor(editor), m_edition(editor), m_mode(mode)