From 0c012775da1efc4a57e927dec8dd80716c871d43 Mon Sep 17 00:00:00 2001 From: Dimitri Baron Date: Fri, 17 Jan 2025 14:02:58 +0100 Subject: [PATCH] #810 Little fix Signed-off-by: Dimitri Baron --- sources/Context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/Context.cpp b/sources/Context.cpp index bb89401a..29e1045a 100644 --- a/sources/Context.cpp +++ b/sources/Context.cpp @@ -347,7 +347,7 @@ void Context::execute() { const boost::filesystem::path lostEquipementsFileRelativePath = boost::filesystem::relative(lostEquipementsFilePath, config_.outputDir()); mapData_[lostEquipementsFileRelativePath.generic_string()] = lostEquipmentsStream.str(); - std::ostringstream outputIIDMStream; + std::stringstream outputIIDMStream; simu->dumpIIDMFile(outputIIDMStream); const boost::optional& iidmFilePath = simu->getExportIIDMFile(); const boost::filesystem::path iidmFileRelativePath = boost::filesystem::relative(*iidmFilePath, config_.outputDir()); // Attention