Hdf5File.cpp: fixed bug in determination of first group name

This commit is contained in:
Matt Spraggs committed 2015-10-01 21:38:17 +01:00
1 parent 5e3247697d
commit 9c52fa104b
1 file changed
+1
+1
View File
@@ -185,6 +185,7 @@ string Hdf5File::getFirstGroupName(void)
};
char groupName[maxGroupNameSize];
groupName[0] = 0; // Need to make sure it's null-terminated
h5File_->iterateElems("/", nullptr, firstGroupName, groupName);
res = groupName;