summaryrefslogtreecommitdiff
path: root/src/selection.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/selection.cc')
-rw-r--r--src/selection.cc4
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);
}