From c806aa81f07560c9d06b56116225835c72e845b8 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 26 Jun 2023 11:14:11 +0200 Subject: [PATCH] what does the new compiler want? --- mission/tmtc/TmFunnelBase.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mission/tmtc/TmFunnelBase.cpp b/mission/tmtc/TmFunnelBase.cpp index 06bdd15f..fc2e4b76 100644 --- a/mission/tmtc/TmFunnelBase.cpp +++ b/mission/tmtc/TmFunnelBase.cpp @@ -40,8 +40,8 @@ ReturnValue_t TmFunnelBase::initialize() { // 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. std::error_code e; - path filePath = path(std::string(sdcMan.getCurrentMountPrefix()) / std::string("conf") / - std::string(sequenceCounterFilename)); + path filePath = + path(path(sdcMan.getCurrentMountPrefix()) / path("conf") / path(sequenceCounterFilename)); if (exists(filePath, e)) { std::ifstream ifile(filePath); if (ifile.bad()) { @@ -60,8 +60,8 @@ ReturnValue_t TmFunnelBase::initialize() { ReturnValue_t TmFunnelBase::saveSequenceCountToFile() { using namespace std::filesystem; std::error_code e; - path filePath = path(std::string(sdcMan.getCurrentMountPrefix()) / std::string("conf") / - std::string(sequenceCounterFilename)); + path filePath = + path(path(sdcMan.getCurrentMountPrefix()) / path("conf") / path(sequenceCounterFilename)); std::ofstream ofile(filePath); if (ofile.bad()) { return returnvalue::FAILED;