From 0a295baa0cff5275fbfe198b597ec3cfa0ad79ae Mon Sep 17 00:00:00 2001 From: Matt Mitchell Date: Thu, 24 Jun 2021 10:31:35 -0600 Subject: [PATCH] fix energyplus-generated rvi and mvi file fs::path usages to output non-quoted strings --- src/EnergyPlus/CommandLineInterface.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/EnergyPlus/CommandLineInterface.cc b/src/EnergyPlus/CommandLineInterface.cc index 80d57950289..168236b3ffb 100644 --- a/src/EnergyPlus/CommandLineInterface.cc +++ b/src/EnergyPlus/CommandLineInterface.cc @@ -883,8 +883,8 @@ namespace CommandLineInterface { if (!ofs.good()) { ShowFatalError(state, "EnergyPlus: Could not open file \"" + RVIfile.string() + "\" for output (write)."); } else { - ofs << state.files.eso.filePath << '\n'; - ofs << state.files.csv.filePath << '\n'; + ofs << state.files.eso.filePath.string() << '\n'; + ofs << state.files.csv.filePath.string() << '\n'; } } @@ -894,8 +894,8 @@ namespace CommandLineInterface { if (!ofs.good()) { ShowFatalError(state, "EnergyPlus: Could not open file \"" + RVIfile.string() + "\" for output (write)."); } else { - ofs << state.files.mtr.filePath << '\n'; - ofs << state.files.mtr_csv.filePath << '\n'; + ofs << state.files.mtr.filePath.string() << '\n'; + ofs << state.files.mtr_csv.filePath.string() << '\n'; } }