mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2024-11-10 00:45:36 +00:00
Hdf5File.cpp: fixed bug in determination of first group name
This commit is contained in:
parent
5e3247697d
commit
9c52fa104b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user