what does the new compiler want?
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
This commit is contained in:
parent
93fb207032
commit
c806aa81f0
@ -40,8 +40,8 @@ ReturnValue_t TmFunnelBase::initialize() {
|
|||||||
// The filesystem should always be available at the start.. Let's assume it always is, otherwise
|
// The filesystem should always be available at the start.. Let's assume it always is, otherwise
|
||||||
// we just live with a regular 0 initialization. It simplifies a lot.
|
// we just live with a regular 0 initialization. It simplifies a lot.
|
||||||
std::error_code e;
|
std::error_code e;
|
||||||
path filePath = path(std::string(sdcMan.getCurrentMountPrefix()) / std::string("conf") /
|
path filePath =
|
||||||
std::string(sequenceCounterFilename));
|
path(path(sdcMan.getCurrentMountPrefix()) / path("conf") / path(sequenceCounterFilename));
|
||||||
if (exists(filePath, e)) {
|
if (exists(filePath, e)) {
|
||||||
std::ifstream ifile(filePath);
|
std::ifstream ifile(filePath);
|
||||||
if (ifile.bad()) {
|
if (ifile.bad()) {
|
||||||
@ -60,8 +60,8 @@ ReturnValue_t TmFunnelBase::initialize() {
|
|||||||
ReturnValue_t TmFunnelBase::saveSequenceCountToFile() {
|
ReturnValue_t TmFunnelBase::saveSequenceCountToFile() {
|
||||||
using namespace std::filesystem;
|
using namespace std::filesystem;
|
||||||
std::error_code e;
|
std::error_code e;
|
||||||
path filePath = path(std::string(sdcMan.getCurrentMountPrefix()) / std::string("conf") /
|
path filePath =
|
||||||
std::string(sequenceCounterFilename));
|
path(path(sdcMan.getCurrentMountPrefix()) / path("conf") / path(sequenceCounterFilename));
|
||||||
std::ofstream ofile(filePath);
|
std::ofstream ofile(filePath);
|
||||||
if (ofile.bad()) {
|
if (ofile.bad()) {
|
||||||
return returnvalue::FAILED;
|
return returnvalue::FAILED;
|
||||||
|
Loading…
Reference in New Issue
Block a user