diff options
| author | Sean McBride <sean@rogue-research.com> | 2024-02-09 17:29:55 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-09 17:29:55 (GMT) |
| commit | 623907f39764b043ca6205a00663fa325bb17e97 (patch) | |
| tree | 2172293fc172ea3d83fb885c93768f3394e37dea /c++/test/h5cpputil.cpp | |
| parent | 33bb1970b8b010ebb503aaf7def46bafd87d9d9b (diff) | |
| download | hdf5-623907f39764b043ca6205a00663fa325bb17e97.zip hdf5-623907f39764b043ca6205a00663fa325bb17e97.tar.gz hdf5-623907f39764b043ca6205a00663fa325bb17e97.tar.bz2 | |
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.
*
Diffstat (limited to 'c++/test/h5cpputil.cpp')
| -rw-r--r-- | c++/test/h5cpputil.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/c++/test/h5cpputil.cpp b/c++/test/h5cpputil.cpp index c3feefa..933aa7d 100644 --- a/c++/test/h5cpputil.cpp +++ b/c++/test/h5cpputil.cpp @@ -198,13 +198,6 @@ InvalidActionException::InvalidActionException(const H5std_string &func, const H } //-------------------------------------------------------------------------- -// Function: InvalidActionException destructor -//-------------------------------------------------------------------------- -InvalidActionException::~InvalidActionException() throw() -{ -} - -//-------------------------------------------------------------------------- // Function: TestFailedException default constructor //-------------------------------------------------------------------------- TestFailedException::TestFailedException() : Exception() @@ -225,10 +218,3 @@ TestFailedException::TestFailedException(const H5std_string &func, const H5std_s : Exception(func, message) { } - -//-------------------------------------------------------------------------- -// Function: TestFailedException destructor -//-------------------------------------------------------------------------- -TestFailedException::~TestFailedException() throw() -{ -} |
