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/H5StrType.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/H5StrType.h')
-rw-r--r-- | c++/src/H5StrType.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5StrType.h b/c++/src/H5StrType.h index ccae3e7..0f51e75 100644 --- a/c++/src/H5StrType.h +++ b/c++/src/H5StrType.h @@ -72,7 +72,7 @@ class H5_DLLCPP StrType : public AtomType { StrType(const StrType &original); // Noop destructor. - virtual ~StrType() override; + virtual ~StrType() override = default; }; // end of StrType } // namespace H5 |