Skip to content

Commit 157c123

Browse files
committed
Revert "[libc++] Fix ODR violation with __exception_guard in mixed exceptions builds"
This reverts commit 561105f. This breaks C++03 with -fno-exceptions.
1 parent 591e3e6 commit 157c123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__utility/exception_guard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ struct __exception_guard {
8989
};
9090
#else // _LIBCPP_NO_EXCEPTIONS
9191
template <class _Rollback>
92-
struct [[gnu::abi_tag("-fno-exceptions")]] __exception_guard {
92+
struct __exception_guard {
9393
__exception_guard() = delete;
9494
_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_NODEBUG explicit __exception_guard(_Rollback) {}
9595

0 commit comments

Comments
 (0)