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++/src/H5AbstractDs.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++/src/H5AbstractDs.h')
-rw-r--r-- | c++/src/H5AbstractDs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5AbstractDs.h b/c++/src/H5AbstractDs.h index 49bcfeb..d831bd6 100644 --- a/c++/src/H5AbstractDs.h +++ b/c++/src/H5AbstractDs.h @@ -67,7 +67,7 @@ class H5_DLLCPP AbstractDs { virtual H5std_string fromClass() const = 0; // Destructor - virtual ~AbstractDs(); + virtual ~AbstractDs() = default; protected: // Default constructor |