summaryrefslogtreecommitdiffstats
path: root/c++/src/H5IdComponent.h
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2024-02-09 17:29:55 (GMT)
committerGitHub <noreply@github.com>2024-02-09 17:29:55 (GMT)
commit623907f39764b043ca6205a00663fa325bb17e97 (patch)
tree2172293fc172ea3d83fb885c93768f3394e37dea /c++/src/H5IdComponent.h
parent33bb1970b8b010ebb503aaf7def46bafd87d9d9b (diff)
downloadhdf5-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/H5IdComponent.h')
-rw-r--r--c++/src/H5IdComponent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5IdComponent.h b/c++/src/H5IdComponent.h
index d64bdb5..2fef96f 100644
--- a/c++/src/H5IdComponent.h
+++ b/c++/src/H5IdComponent.h
@@ -81,7 +81,7 @@ class H5_DLLCPP IdComponent {
#endif // DOXYGEN_SHOULD_SKIP_THIS
// Destructor
- virtual ~IdComponent();
+ virtual ~IdComponent() = default;
#ifndef DOXYGEN_SHOULD_SKIP_THIS