[FarGroup/FarManager] master: Fix build (bdb61f393)

0 views
Skip to first unread message

farg...@farmanager.com

unread,
Feb 2, 2026, 8:01:18 PM (4 days ago) Feb 2
to farco...@googlegroups.com
Repository : https://github.com/FarGroup/FarManager
On branch : master
Link : https://github.com/FarGroup/FarManager/commit/bdb61f3936c110c13fd0f9e086fdf7835c651215

>---------------------------------------------------------------

commit bdb61f3936c110c13fd0f9e086fdf7835c651215
Author: Alex Alabuzhev <alab...@gmail.com>
Date: Tue Feb 3 00:57:15 2026 +0000

Fix build


>---------------------------------------------------------------

bdb61f3936c110c13fd0f9e086fdf7835c651215
far/string_sort.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/far/string_sort.cpp b/far/string_sort.cpp
index e637e324f..0d783d211 100644
--- a/far/string_sort.cpp
+++ b/far/string_sort.cpp
@@ -443,7 +443,7 @@ TEST_CASE("strings.sorting")
{ L"a1"sv, L"A2"sv, gt, lt, },
};

- const auto invert = [](std::strong_ordering const Result)
+ const auto invert = [&](std::strong_ordering const Result)
{
return Result == lt? gt : Result == gt? lt : eq;
};


Reply all
Reply to author
Forward
0 new messages