mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2025-04-10 19:20:44 +01: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];
|
char groupName[maxGroupNameSize];
|
||||||
|
groupName[0] = 0; // Need to make sure it's null-terminated
|
||||||
|
|
||||||
h5File_->iterateElems("/", nullptr, firstGroupName, groupName);
|
h5File_->iterateElems("/", nullptr, firstGroupName, groupName);
|
||||||
res = groupName;
|
res = groupName;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user