summaryrefslogtreecommitdiffstats
path: root/c++/src/H5PropList.cpp
diff options
context:
space:
mode:
authorvchoi-hdfgroup <55293060+vchoi-hdfgroup@users.noreply.github.com>2021-10-28 03:45:11 (GMT)
committerGitHub <noreply@github.com>2021-10-28 03:45:11 (GMT)
commitb92c7e58a97bc81a8983da3312dbfe72f6a75745 (patch)
tree40ce8f08c2ec57a772ce57b3b91da56be21d5334 /c++/src/H5PropList.cpp
parentbb54464d2dcee95032332c44aa4d1ee2438e4be4 (diff)
parent33630ee54581f7f54e4ecd8e53ec3e94ba13c493 (diff)
downloadhdf5-b92c7e58a97bc81a8983da3312dbfe72f6a75745.zip
hdf5-b92c7e58a97bc81a8983da3312dbfe72f6a75745.tar.gz
hdf5-b92c7e58a97bc81a8983da3312dbfe72f6a75745.tar.bz2
Merge pull request #43 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.