mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
Modern C++ dtor declarations (#1830)
* C++ dtor modernization - Replaced a bunch of empty dtors with `= default` - Removed deprecated `throw()`. In C++11, dtors are `noexcept` by default. *
This commit is contained in:
@@ -197,13 +197,6 @@ InvalidActionException::InvalidActionException(const H5std_string &func, const H
|
||||
{
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// Function: InvalidActionException destructor
|
||||
//--------------------------------------------------------------------------
|
||||
InvalidActionException::~InvalidActionException() throw()
|
||||
{
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// Function: TestFailedException default constructor
|
||||
//--------------------------------------------------------------------------
|
||||
@@ -225,10 +218,3 @@ TestFailedException::TestFailedException(const H5std_string &func, const H5std_s
|
||||
: Exception(func, message)
|
||||
{
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// Function: TestFailedException destructor
|
||||
//--------------------------------------------------------------------------
|
||||
TestFailedException::~TestFailedException() throw()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user