diff options
author | Andrew Lazarev <alazarev@google.com> | 2025-09-25 15:10:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-25 15:10:37 -0700 |
commit | b86aaacf28b358b187071bc87075f1faa2d65c4e (patch) | |
tree | 45ca80992a4bb7fba53b37331e663647843ee4bf /libcxx/include/__algorithm | |
parent | 57947ace14ebfadba46a99aa80589e021c757037 (diff) | |
download | llvm-b86aaacf28b358b187071bc87075f1faa2d65c4e.zip llvm-b86aaacf28b358b187071bc87075f1faa2d65c4e.tar.gz llvm-b86aaacf28b358b187071bc87075f1faa2d65c4e.tar.bz2 |
Revert "[libc++] Avoid constructing additional objects when using map::at" (#160738)
Reverts llvm/llvm-project#157866
It breaks a lot of sanitizer buildbots
Diffstat (limited to 'libcxx/include/__algorithm')
-rw-r--r-- | libcxx/include/__algorithm/comp.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libcxx/include/__algorithm/comp.h b/libcxx/include/__algorithm/comp.h index 38e2fb9..ab3c598 100644 --- a/libcxx/include/__algorithm/comp.h +++ b/libcxx/include/__algorithm/comp.h @@ -11,7 +11,6 @@ #include <__config> #include <__type_traits/desugars_to.h> -#include <__type_traits/is_generic_transparent_comparator.h> #include <__type_traits/is_integral.h> #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) @@ -49,9 +48,6 @@ inline const bool __desugars_to_v<__less_tag, __less<>, _Tp, _Tp> = true; template <class _Tp> inline const bool __desugars_to_v<__totally_ordered_less_tag, __less<>, _Tp, _Tp> = is_integral<_Tp>::value; -template <> -inline const bool __is_generic_transparent_comparator_v<__less<> > = true; - _LIBCPP_END_NAMESPACE_STD #endif // _LIBCPP___ALGORITHM_COMP_H |