From: Jonathan Wakely Date: Thu, 3 Oct 2024 10:17:36 +0000 (+0100) Subject: libstdc++: Make Unicode utils work with Parallel Mode X-Git-Tag: basepoints/gcc-16~5512 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d9d6872089b212c0bf3768a32de9bfbde9e5a17;p=thirdparty%2Fgcc.git 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 --git a/libstdc++-v3/include/bits/unicode.h b/libstdc++-v3/include/bits/unicode.h index a14a17c5dfc..1232f60037c 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