]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Make Unicode utils work with Parallel Mode
authorJonathan Wakely <jwakely@redhat.com>
Thu, 3 Oct 2024 10:17:36 +0000 (11:17 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 3 Oct 2024 11:29:55 +0000 (12:29 +0100)
libstdc++-v3/ChangeLog:

* include/bits/unicode.h (__unicode::__is_incb_linker): Use
_GLIBCXX_STD_A namespace for std::find.

libstdc++-v3/include/bits/unicode.h

index a14a17c5dfcf547e10dc3db948d150ed56237f65..1232f60037c8030efd880fd3c98e5e8e80880b68 100644 (file)
@@ -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