summaryrefslogtreecommitdiff
path: root/src/normal.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2016-05-09 21:56:08 +0100
committerMaxime Coste <frrrwww@gmail.com>2016-05-09 21:56:08 +0100
commitbff9d45bdb01922264e01da2582173fea700523a (patch)
tree2ad5ec5caadaaf818198b5230d10e636c811ba5a /src/normal.cc
parente3cddf37832691a0b9179cf91a0ea15b97ad3712 (diff)
Make utf8_iterator codepoint type and difference type configurable
Diffstat (limited to 'src/normal.cc')
-rw-r--r--src/normal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.cc b/src/normal.cc
index 89ac2a9c..ed0f3e02 100644
--- a/src/normal.cc
+++ b/src/normal.cc
@@ -311,7 +311,7 @@ Codepoint swap_case(Codepoint cp)
template<Codepoint (*func)(Codepoint)>
void for_each_codepoint(Context& context, NormalParams)
{
- using Utf8It = utf8::iterator<BufferIterator, utf8::InvalidPolicy::Pass>;
+ using Utf8It = utf8::iterator<BufferIterator>;
ScopedEdition edition(context);
Buffer& buffer = context.buffer();