summaryrefslogtreecommitdiff
path: root/src/cppunit/Exception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cppunit/Exception.cpp')
-rw-r--r--src/cppunit/Exception.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cppunit/Exception.cpp b/src/cppunit/Exception.cpp
index 6685480..9401fbc 100644
--- a/src/cppunit/Exception.cpp
+++ b/src/cppunit/Exception.cpp
@@ -44,7 +44,7 @@ Exception::Exception( std::string message,
#endif
-Exception::~Exception() throw()
+Exception::~Exception() noexcept
{
}
@@ -68,7 +68,7 @@ Exception::operator =( const Exception& other )
const char*
-Exception::what() const throw()
+Exception::what() const noexcept
{
Exception *mutableThis = CPPUNIT_CONST_CAST( Exception *, this );
mutableThis->m_whatMessage = m_message.shortDescription() + "\n" +