diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2024-08-01 15:56:06 -0400 |
---|---|---|
committer | Louis Dionne <ldionne.2@gmail.com> | 2024-08-01 15:56:06 -0400 |
commit | 451bba6fbf0bc9a2bfff9253ac45caf7c57d38b9 (patch) | |
tree | dc740839b804783b8aa0f7626f1dc885584604d5 /libcxx/src | |
parent | 0def9a923dadc2b2b3dd067eefcef541e475594c (diff) | |
download | llvm-451bba6fbf0bc9a2bfff9253ac45caf7c57d38b9.zip llvm-451bba6fbf0bc9a2bfff9253ac45caf7c57d38b9.tar.gz llvm-451bba6fbf0bc9a2bfff9253ac45caf7c57d38b9.tar.bz2 |
[libc++] Revert "Check correctly ref-qualified __is_callable in algorithms (#73451)"
This reverts commit 8d151f804ff43aaed1edf810bb2a07607b8bba14, which
broke some build bots. I think that is caused by an invalid argument
order when checking __is_comparable in upper_bound.
Diffstat (limited to 'libcxx/src')
-rw-r--r-- | libcxx/src/regex.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/src/regex.cpp b/libcxx/src/regex.cpp index 6d9f06e..9dc0c69 100644 --- a/libcxx/src/regex.cpp +++ b/libcxx/src/regex.cpp @@ -323,8 +323,8 @@ const classnames ClassNames[] = { {"xdigit", ctype_base::xdigit}}; struct use_strcmp { - bool operator()(const collationnames& x, const char* y) const { return strcmp(x.elem_, y) < 0; } - bool operator()(const classnames& x, const char* y) const { return strcmp(x.elem_, y) < 0; } + bool operator()(const collationnames& x, const char* y) { return strcmp(x.elem_, y) < 0; } + bool operator()(const classnames& x, const char* y) { return strcmp(x.elem_, y) < 0; } }; } // namespace |