summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DcreatProp.cpp
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-04-07 14:23:35 (GMT)
committerGitHub <noreply@github.com>2022-04-07 14:23:35 (GMT)
commit13d852d89ede307314adbfaa036fe670dfa75554 (patch)
treef3e66489a150de1fd493365cf5cf535963679e5d /c++/src/H5DcreatProp.cpp
parent541bc15452f71f3eae7471fdecbe7994a7f138e2 (diff)
downloadhdf5-13d852d89ede307314adbfaa036fe670dfa75554.zip
hdf5-13d852d89ede307314adbfaa036fe670dfa75554.tar.gz
hdf5-13d852d89ede307314adbfaa036fe670dfa75554.tar.bz2
1.12: Brings C++ wrappers in line with develop, minus C++11 bits (#1604)
Diffstat (limited to 'c++/src/H5DcreatProp.cpp')
-rw-r--r--c++/src/H5DcreatProp.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/c++/src/H5DcreatProp.cpp b/c++/src/H5DcreatProp.cpp
index 4c71d5e..da19d8d 100644
--- a/c++/src/H5DcreatProp.cpp
+++ b/c++/src/H5DcreatProp.cpp
@@ -78,8 +78,7 @@ DSetCreatPropList::getConstant()
void
DSetCreatPropList::deleteConstants()
{
- if (DEFAULT_ != 0)
- delete DEFAULT_;
+ delete DEFAULT_;
}
//--------------------------------------------------------------------------
@@ -553,7 +552,7 @@ DSetCreatPropList::setShuffle() const
///\exception H5::PropListIException
///\par Description
/// The values of space allocation time can be one of the
-/// followings:
+/// following:
/// \li \c H5D_ALLOC_TIME_DEFAULT
/// \li \c H5D_ALLOC_TIME_EARLY
/// \li \c H5D_ALLOC_TIME_LATE