diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2016-03-25 00:14:56 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2016-03-25 20:38:26 +0000 |
| commit | d3ef2d36ead57e6a0490cebba3cdbc434c729e24 (patch) | |
| tree | af4b0c911d3593d6d3104a66974649ca14537f11 /src/normal.cc | |
| parent | 87704227ad9bef1d09ed3620977d106bf0a16485 (diff) | |
Add a SplitView container view
Diffstat (limited to 'src/normal.cc')
| -rw-r--r-- | src/normal.cc | 2 |
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}; |
