https://gcc.gnu.org/g:0d9d6872089b212c0bf3768a32de9bfbde9e5a17

commit r15-4041-g0d9d6872089b212c0bf3768a32de9bfbde9e5a17
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Thu Oct 3 11:17:36 2024 +0100

    libstdc++: Make Unicode utils work with Parallel Mode
    
    libstdc++-v3/ChangeLog:
    
            * include/bits/unicode.h (__unicode::__is_incb_linker): Use
            _GLIBCXX_STD_A namespace for std::find.

Diff:
---
 libstdc++-v3/include/bits/unicode.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libstdc++-v3/include/bits/unicode.h 
b/libstdc++-v3/include/bits/unicode.h
index a14a17c5dfcf..1232f60037c8 100644
--- a/libstdc++-v3/include/bits/unicode.h
+++ b/libstdc++-v3/include/bits/unicode.h
@@ -625,7 +625,7 @@ inline namespace __v15_1_0
   {
     const auto __end = std::end(__incb_linkers);
     // Array is small enough that linear search is faster than binary search.
-    return std::find(__incb_linkers, __end, __c) != __end;
+    return _GLIBCXX_STD_A::find(__incb_linkers, __end, __c) != __end;
   }
 
   // @pre c <= 0x10FFFF

Reply via email to