summaryrefslogtreecommitdiff
path: root/src/commands.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-06-05 19:19:35 +0200
committerMaxime Coste <frrrwww@gmail.com>2013-06-06 19:44:07 +0200
commit245e68e26e850dbc7d3bced309d48e67aeb5332d (patch)
tree3f6b1201f52ae87d72e321c409d96de426817cf0 /src/commands.cc
parent70bf71e51fb8433cbbd3170d698ad3dc28ce8d16 (diff)
utf8_iterators: rename underlying_iterator to base
Diffstat (limited to 'src/commands.cc')
-rw-r--r--src/commands.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cc b/src/commands.cc
index b6c9a1c6..b46b1b63 100644
--- a/src/commands.cc
+++ b/src/commands.cc
@@ -660,7 +660,7 @@ static String assist(String message, CharCount maxWidth)
col = 0;
}
if (*word_begin != '\n')
- line += String(word_begin.underlying_iterator(), word_end.underlying_iterator());
+ line += String{word_begin.base(), word_end.base()};
word_begin = word_end;
}
if (not line.empty())