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++/src/H5PredType.h | |
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++/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. |