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:
Sean McBride
2024-02-09 11:29:55 -06:00
committed by GitHub
parent 33bb1970b8
commit 623907f397
50 changed files with 38 additions and 335 deletions
-14
View File
@@ -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()
{
}