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/H5CommonFG.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/H5CommonFG.h')
-rw-r--r-- | c++/src/H5CommonFG.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5CommonFG.h b/c++/src/H5CommonFG.h index e675617..6eb01db 100644 --- a/c++/src/H5CommonFG.h +++ b/c++/src/H5CommonFG.h @@ -72,7 +72,7 @@ class H5_DLLCPP CommonFG { CommonFG(); // Noop destructor. - virtual ~CommonFG(); + virtual ~CommonFG() = default; protected: virtual void p_setId(const hid_t new_id) = 0; |