summaryrefslogtreecommitdiffstats
path: root/c++/src/H5PropList.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2005-10-12 07:36:33 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2005-10-12 07:36:33 (GMT)
commitc02f0675589d12c331302e9c7a38d9b194f05417 (patch)
treeb43cbc3f23b1b5f87ef4e8a3485b23921a7a1713 /c++/src/H5PropList.cpp
parente2cf3a6b1a1c45471fce6c2d5d3a97d92103c714 (diff)
downloadhdf5-c02f0675589d12c331302e9c7a38d9b194f05417.zip
hdf5-c02f0675589d12c331302e9c7a38d9b194f05417.tar.gz
hdf5-c02f0675589d12c331302e9c7a38d9b194f05417.tar.bz2
[svn-r11555] Purpose: Code cleanup
Description: Removed obsolete function CompType::getMemberDims. Fixed some typos. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol)
Diffstat (limited to 'c++/src/H5PropList.cpp')
-rw-r--r--c++/src/H5PropList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5PropList.cpp b/c++/src/H5PropList.cpp
index 9e8c3f6..8a92f6d 100644
--- a/c++/src/H5PropList.cpp
+++ b/c++/src/H5PropList.cpp
@@ -606,7 +606,7 @@ bool PropList::operator==(const PropList& rhs) const
PropList PropList::getClassParent() const
{
hid_t class_id = H5Pget_class_parent(id);
- if (class_id <= 0)
+ if (class_id < 0)
{
throw PropListIException(inMemFunc("getClassParent"), "H5Pget_class_parent failed");
}