From d3ef2d36ead57e6a0490cebba3cdbc434c729e24 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 25 Mar 2016 00:14:56 +0000 Subject: Add a SplitView container view --- src/normal.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/normal.cc') 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 sels; - for (auto sel_desc : split({desc.begin(), arobase}, ':')) + for (auto sel_desc : StringView{desc.begin(), arobase} | split(':')) sels.push_back(selection_from_string(sel_desc)); SelectionList sel_list{buffer, std::move(sels), timestamp}; -- cgit v1.2.3