summaryrefslogtreecommitdiff
path: root/libcxx/include/system_error
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2022-04-11 12:30:38 -0400
committerLouis Dionne <ldionne.2@gmail.com>2022-04-11 12:30:38 -0400
commitb9ca1e5a5a31a90afcecc02cd9555ed4ec9ff617 (patch)
treec68da427faa2651b273c283a85eee13336adaacb /libcxx/include/system_error
parent0258f566466268704caa2476f20e4a87a6257d06 (diff)
[libc++][NFC] Use noexcept instead of _NOEXCEPT for code compiled into the library
We build the library with C++20 anyways, so we can use noexcept directly.
Diffstat (limited to 'libcxx/include/system_error')
-rw-r--r--libcxx/include/system_error2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/system_error b/libcxx/include/system_error
index feffa2debf4e..27e44beffe3c 100644
--- a/libcxx/include/system_error
+++ b/libcxx/include/system_error
@@ -204,7 +204,7 @@ public:
#if defined(_LIBCPP_BUILDING_LIBRARY) && \
defined(_LIBCPP_DEPRECATED_ABI_LEGACY_LIBRARY_DEFINITIONS_FOR_INLINE_FUNCTIONS)
- error_category() _NOEXCEPT;
+ error_category() noexcept;
#else
_LIBCPP_INLINE_VISIBILITY
_LIBCPP_CONSTEXPR_AFTER_CXX11 error_category() _NOEXCEPT = default;