diff options
author | Sean McBride <sean@rogue-research.com> | 2024-02-09 17:29:55 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2024-02-14 22:11:03 (GMT) |
commit | 6331ddabbbb2f280e2e9e4429e3d8afd8f0f598e (patch) | |
tree | 65e41f43267f8790e23da5232e54b4032293e4c1 /c++/test/h5cpputil.h | |
parent | f888fd5892b7d71d2d4a09a52d29f0c77b22dd1b (diff) | |
download | hdf5-6331ddabbbb2f280e2e9e4429e3d8afd8f0f598e.zip hdf5-6331ddabbbb2f280e2e9e4429e3d8afd8f0f598e.tar.gz hdf5-6331ddabbbb2f280e2e9e4429e3d8afd8f0f598e.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.h')
-rw-r--r-- | c++/test/h5cpputil.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/test/h5cpputil.h b/c++/test/h5cpputil.h index 392382d..fa6822a 100644 --- a/c++/test/h5cpputil.h +++ b/c++/test/h5cpputil.h @@ -49,14 +49,14 @@ class InvalidActionException : public Exception { public: InvalidActionException(const H5std_string &func_name, const H5std_string &message = DEFAULT_MSG); InvalidActionException(); - ~InvalidActionException() throw() override; + ~InvalidActionException() override = default; }; class TestFailedException : public Exception { public: TestFailedException(const H5std_string &func_name, const H5std_string &message = DEFAULT_MSG); TestFailedException(); - ~TestFailedException() throw() override; + ~TestFailedException() override = default; }; // Overloaded/Template functions to verify values and display proper info |