update state as well
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Robin Müller 2022-12-13 10:08:31 +01:00
parent e62c527d05
commit 04b04ed859
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -145,6 +145,8 @@ void TmStore::assignAndOrCreateMostRecentFile() {
tod.year, tod.month, tod.day, tod.hour, tod.minute, tod.second); tod.year, tod.month, tod.day, tod.hour, tod.minute, tod.second);
path newPath(std::string(reinterpret_cast<const char*>(fileBuf.data()), currentIdx)); path newPath(std::string(reinterpret_cast<const char*>(fileBuf.data()), currentIdx));
std::ofstream of(newPath, std::ios::binary); std::ofstream of(newPath, std::ios::binary);
mostRecentFile = newPath;
mostRecentTv = currentTv;
} }
} }