summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
Diffstat (limited to 'c++')
-rw-r--r--c++/src/H5CommonFG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5CommonFG.cpp b/c++/src/H5CommonFG.cpp
index a6a1530..bcdc3c6 100644
--- a/c++/src/H5CommonFG.cpp
+++ b/c++/src/H5CommonFG.cpp
@@ -975,7 +975,7 @@ hsize_t CommonFG::getNumObjs() const
{
H5G_info_t ginfo; /* Group information */
- herr_t ret_value = H5Gget_info(getLocId(), ".", &ginfo, H5P_DEFAULT);
+ herr_t ret_value = H5Gget_info(getLocId(), &ginfo);
if(ret_value < 0)
{
throwException("getNumObjs", "H5Gget_info failed");