mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2026-10-07 00:28:05 +01:00
Hdf5File.cpp: fixed bug in determination of first group name
This commit is contained in:
1 parent
5e3247697d
commit
9c52fa104b
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user