summaryrefslogtreecommitdiff
path: root/src/string_utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/string_utils.cc')
-rw-r--r--src/string_utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_utils.cc b/src/string_utils.cc
index 212cab2e..459bea0b 100644
--- a/src/string_utils.cc
+++ b/src/string_utils.cc
@@ -21,7 +21,7 @@ String trim_indent(StringView str)
utf8::iterator it{str.begin(), str};
while (it != str.end() and is_horizontal_blank(*it))
- it++;
+ ++it;
const StringView indent{str.begin(), it.base()};
return accumulate(str | split_after<StringView>('\n') | transform([&](auto&& line) {