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/H5PredType.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/H5PredType.h')
-rw-r--r-- | c++/src/H5PredType.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5PredType.h b/c++/src/H5PredType.h index 1e305fc..85b6e96 100644 --- a/c++/src/H5PredType.h +++ b/c++/src/H5PredType.h @@ -41,7 +41,7 @@ class H5_DLLCPP PredType : public AtomType { PredType(const PredType &original); // Noop destructor - virtual ~PredType() override; + virtual ~PredType() override = default; /*! \brief This dummy function do not inherit from DataType - it will throw a DataTypeIException if invoked. |