this is actually important

This commit is contained in:
Robin Müller 2022-11-21 15:22:25 +01:00
parent 65a5abab49
commit 23d3812fe3
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ UioMapper::UioMapper(std::string uioFile, int mapNum) : mapNum(mapNum) {
if (S_ISLNK(buf.st_mode)) {
char* res = realpath(uioFile.c_str(), nullptr);
if (res) {
uioFile = res;
this->uioFile = res;
free(res);
} else {
#if FSFW_CPP_OSTREAM_ENABLED == 1
@ -28,7 +28,7 @@ UioMapper::UioMapper(std::string uioFile, int mapNum) : mapNum(mapNum) {
#endif
}
} else {
uioFile = std::move(uioFile);
this->uioFile = std::move(uioFile);
}
}