diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2016-03-09 23:29:46 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2016-03-09 23:29:46 +0000 |
| commit | fcd3437fac01ecb942d3fd9116d1d1a3c455c59e (patch) | |
| tree | 479798e1738023100c58b9cb9ef13838bb08b85d /src/selection.cc | |
| parent | 2d494ccb8e72782a0a015c8890d39ab00d5ce4aa (diff) | |
| parent | 517abf5e74636052007db0938067aee7bf658965 (diff) | |
Merge branch 'json-ui'
Diffstat (limited to 'src/selection.cc')
| -rw-r--r-- | src/selection.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selection.cc b/src/selection.cc index f24b0939..90580bdd 100644 --- a/src/selection.cc +++ b/src/selection.cc @@ -555,8 +555,8 @@ String selection_to_string(const Selection& selection) String selection_list_to_string(const SelectionList& selections) { - return join(transformed(selections, [](const Selection& s) - { return selection_to_string(s); }), + return join(selections | transform([](const Selection& s) + { return selection_to_string(s); }), ':', false); } |
