this is actually important
This commit is contained in:
parent
65a5abab49
commit
23d3812fe3
@ -20,7 +20,7 @@ UioMapper::UioMapper(std::string uioFile, int mapNum) : mapNum(mapNum) {
|
|||||||
if (S_ISLNK(buf.st_mode)) {
|
if (S_ISLNK(buf.st_mode)) {
|
||||||
char* res = realpath(uioFile.c_str(), nullptr);
|
char* res = realpath(uioFile.c_str(), nullptr);
|
||||||
if (res) {
|
if (res) {
|
||||||
uioFile = res;
|
this->uioFile = res;
|
||||||
free(res);
|
free(res);
|
||||||
} else {
|
} else {
|
||||||
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
||||||
@ -28,7 +28,7 @@ UioMapper::UioMapper(std::string uioFile, int mapNum) : mapNum(mapNum) {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
uioFile = std::move(uioFile);
|
this->uioFile = std::move(uioFile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user