summaryrefslogtreecommitdiff
path: root/libstdc++-v3/src/shared_ptr.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/src/shared_ptr.cc')
-rw-r--r--libstdc++-v3/src/shared_ptr.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/src/shared_ptr.cc b/libstdc++-v3/src/shared_ptr.cc
index 670b7ca7ff0..911e745ebe2 100644
--- a/libstdc++-v3/src/shared_ptr.cc
+++ b/libstdc++-v3/src/shared_ptr.cc
@@ -29,10 +29,10 @@ namespace std _GLIBCXX_VISIBILITY(default)
{
_GLIBCXX_BEGIN_NAMESPACE_VERSION
- bad_weak_ptr::~bad_weak_ptr() throw() = default;
+ bad_weak_ptr::~bad_weak_ptr() noexcept = default;
char const*
- bad_weak_ptr::what() const throw()
+ bad_weak_ptr::what() const noexcept
{ return "std::bad_weak_ptr"; }
_GLIBCXX_END_NAMESPACE_VERSION