From 260139f747a3aa7d1cc0b0aa82d28816a3d2f560 Mon Sep 17 00:00:00 2001 From: Alex Valavanis Date: Thu, 10 Aug 2017 14:04:14 +0000 Subject: shortcuts: comp function should take values of input variables (attempt to fix Trusty build) --- src/shortcuts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shortcuts.cpp') diff --git a/src/shortcuts.cpp b/src/shortcuts.cpp index dc6c885c0..c1677ca51 100644 --- a/src/shortcuts.cpp +++ b/src/shortcuts.cpp @@ -328,7 +328,7 @@ void sp_shortcut_get_file_names(std::vector *names, std::vector& pair1, std::pair& pair2) { + [](std::pair pair1, std::pair pair2) { return Glib::path_get_basename(pair1.first).compare(Glib::path_get_basename(pair2.first)) < 0; }); auto it_default = std::find_if(names_and_paths.begin(), names_and_paths.end(), -- cgit v1.2.3