From 550eb0d45117836cdea2112ee37a3fd7219a90b5 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 27 Oct 2023 09:38:20 +0200 Subject: [PATCH] Clarify that o3tl::cmp_* is still needed for LLVM 12 libc++ for now ...which is apparently used by Android builds, so "Directly use std::cmp_*, drop o3tl::cmp_*" cannot go in, yet Change-Id: If8b3ef1e647b6e33c43d0fe5737daf63eda0b761 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158524 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- include/o3tl/intcmp.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/o3tl/intcmp.hxx b/include/o3tl/intcmp.hxx index 1324afcdaf7d..dbc10d9052b0 100644 --- a/include/o3tl/intcmp.hxx +++ b/include/o3tl/intcmp.hxx @@ -20,7 +20,7 @@ namespace o3tl { // An approximation of the C++20 integer comparison functions // ( "Safe integral -// comparisons"): +// comparisons"), still missing from LLVM 12 libc++: #if defined __cpp_lib_integer_comparison_functions using std::cmp_equal;