[libcxx-commits] [libcxx] 10582cb - [libc++] Fix incorrectly-placed attribute
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Dec 12 06:32:40 PST 2023
Author: Louis Dionne
Date: 2023-12-12T09:32:35-05:00
New Revision: 10582cbf2e967f5886ec674ca79dc65c6f0f03f7
URL: https://github.com/llvm/llvm-project/commit/10582cbf2e967f5886ec674ca79dc65c6f0f03f7
DIFF: https://github.com/llvm/llvm-project/commit/10582cbf2e967f5886ec674ca79dc65c6f0f03f7.diff
LOG: [libc++] Fix incorrectly-placed attribute
Added:
Modified:
libcxx/include/typeindex
Removed:
################################################################################
diff --git a/libcxx/include/typeindex b/libcxx/include/typeindex
index a3571e2ea04a59..36bf90722c2107 100644
--- a/libcxx/include/typeindex
+++ b/libcxx/include/typeindex
@@ -70,8 +70,8 @@ public:
_LIBCPP_HIDE_FROM_ABI
bool operator==(const type_index& __y) const _NOEXCEPT
{return *__t_ == *__y.__t_;}
- _LIBCPP_HIDE_FROM_ABI
#if _LIBCPP_STD_VER <= 17
+ _LIBCPP_HIDE_FROM_ABI
bool operator!=(const type_index& __y) const _NOEXCEPT
{return *__t_ != *__y.__t_;}
#endif
More information about the libcxx-commits
mailing list