diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2016-05-09 21:56:08 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2016-05-09 21:56:08 +0100 |
| commit | bff9d45bdb01922264e01da2582173fea700523a (patch) | |
| tree | 2ad5ec5caadaaf818198b5230d10e636c811ba5a /src/word_db.cc | |
| parent | e3cddf37832691a0b9179cf91a0ea15b97ad3712 (diff) | |
Make utf8_iterator codepoint type and difference type configurable
Diffstat (limited to 'src/word_db.cc')
| -rw-r--r-- | src/word_db.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/word_db.cc b/src/word_db.cc index 412b5249..2e9581cb 100644 --- a/src/word_db.cc +++ b/src/word_db.cc @@ -13,7 +13,7 @@ using WordList = Vector<StringView>; static WordList get_words(StringView content) { WordList res; - using Utf8It = utf8::iterator<const char*, utf8::InvalidPolicy::Pass>; + using Utf8It = utf8::iterator<const char*>; const char* word_start = content.begin(); bool in_word = false; for (Utf8It it{word_start, content}, end{content.end(), content}; it != end; ++it) |
