aboutsummaryrefslogtreecommitdiff
path: root/lib/libcxx/src/future.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcxx/src/future.cpp')
-rw-r--r--lib/libcxx/src/future.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libcxx/src/future.cpp b/lib/libcxx/src/future.cpp
index 58d0b4c247..4c59f89e56 100644
--- a/lib/libcxx/src/future.cpp
+++ b/lib/libcxx/src/future.cpp
@@ -19,12 +19,12 @@ class _LIBCPP_HIDDEN __future_error_category
: public __do_message
{
public:
- virtual const char* name() const _NOEXCEPT;
+ virtual const char* name() const noexcept;
virtual string message(int ev) const;
};
const char*
-__future_error_category::name() const _NOEXCEPT
+__future_error_category::name() const noexcept
{
return "future";
}
@@ -65,7 +65,7 @@ __future_error_category::message(int ev) const
#endif
const error_category&
-future_category() _NOEXCEPT
+future_category() noexcept
{
static __future_error_category __f;
return __f;
@@ -77,12 +77,12 @@ future_error::future_error(error_code __ec)
{
}
-future_error::~future_error() _NOEXCEPT
+future_error::~future_error() noexcept
{
}
void
-__assoc_sub_state::__on_zero_shared() _NOEXCEPT
+__assoc_sub_state::__on_zero_shared() noexcept
{
delete this;
}