diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-10-03 11:17:36 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-10-03 12:29:55 +0100 |
commit | 0d9d6872089b212c0bf3768a32de9bfbde9e5a17 (patch) | |
tree | 7109af25a8403789d56505afc77bbec9b2354dad | |
parent | 7754a8b7b4978ad82aef3ad456c5f60460b47393 (diff) | |
download | gcc-0d9d6872089b212c0bf3768a32de9bfbde9e5a17.zip gcc-0d9d6872089b212c0bf3768a32de9bfbde9e5a17.tar.gz gcc-0d9d6872089b212c0bf3768a32de9bfbde9e5a17.tar.bz2 |
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.
-rw-r--r-- | libstdc++-v3/include/bits/unicode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/unicode.h b/libstdc++-v3/include/bits/unicode.h index a14a17c..1232f60 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 |