summaryrefslogtreecommitdiffstats
path: root/c++/src/H5PropList.cpp
diff options
context:
space:
mode:
authorvchoi-hdfgroup <55293060+vchoi-hdfgroup@users.noreply.github.com>2022-01-04 23:23:33 (GMT)
committerGitHub <noreply@github.com>2022-01-04 23:23:33 (GMT)
commitd8ef511b2afac659b7aed3490fedc963b70785d8 (patch)
treedbd1d5bfc413ad6b49d9ca2179d369a64e6e9df0 /c++/src/H5PropList.cpp
parent5d453a6055b994978a3795ee2873bc4170bc576c (diff)
parenta30ca5afcd9f2e35b3a37f74286a6fe264b946f2 (diff)
downloadhdf5-d8ef511b2afac659b7aed3490fedc963b70785d8.zip
hdf5-d8ef511b2afac659b7aed3490fedc963b70785d8.tar.gz
hdf5-d8ef511b2afac659b7aed3490fedc963b70785d8.tar.bz2
Merge pull request #49 from vchoi-hdfgroup/feature/vfd_swmr
Feature/vfd swmr
Diffstat (limited to 'c++/src/H5PropList.cpp')
-rw-r--r--c++/src/H5PropList.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/c++/src/H5PropList.cpp b/c++/src/H5PropList.cpp
index 7dca716..7ee8395 100644
--- a/c++/src/H5PropList.cpp
+++ b/c++/src/H5PropList.cpp
@@ -543,7 +543,7 @@ PropList::getPropSize(const H5std_string &name) const
// Function: PropList::getClassName
///\brief Return the name of a generic property list class.
///\return A string containing the class name, if success, otherwise,
-/// a NULL string.
+/// an empty string.
// Programmer: Binh-Minh Ribler - April, 2004
//--------------------------------------------------------------------------
H5std_string
@@ -557,8 +557,9 @@ PropList::getClassName() const
return (class_name);
}
else
- return 0;
+ return "";
}
+
//--------------------------------------------------------------------------
// Function: PropList::getNumProps
///\brief Returns the number of properties in this property list or class.