summaryrefslogtreecommitdiff
path: root/src/normal.cc
diff options
context:
space:
mode:
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 ab08da9b..13ecd9e2 100644
--- a/src/normal.cc
+++ b/src/normal.cc
@@ -1385,7 +1385,7 @@ void restore_selections(Context& context, NormalParams params)
size_t timestamp = str_to_int({percent + 1, desc.end()});
Vector<Selection> sels;
- for (auto sel_desc : split({desc.begin(), arobase}, ':'))
+ for (auto sel_desc : StringView{desc.begin(), arobase} | split<StringView>(':'))
sels.push_back(selection_from_string(sel_desc));
SelectionList sel_list{buffer, std::move(sels), timestamp};