From 2184b6a64b19b614889455f03c1cecf0385bbeed Mon Sep 17 00:00:00 2001 From: Joakim Hove Date: Mon, 1 Mar 2021 14:43:15 +0100 Subject: [PATCH] Revert "Use fmt::format() for two messages" --- ebos/eclproblem.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ebos/eclproblem.hh b/ebos/eclproblem.hh index 923bb2ec2..43ab9a41a 100644 --- a/ebos/eclproblem.hh +++ b/ebos/eclproblem.hh @@ -1376,7 +1376,7 @@ public: wells_string += matching_wells[iw] + ", "; wells_string += matching_wells.back(); } - std::string msg = fmt::format("The action: {} evaluated to true at {} wells: {}", action->name(), ts, wells_string); + std::string msg = "The action: " + action->name() + " evaluated to true at " + ts + " wells: " + wells_string; Opm::OpmLog::info(msg); const auto& wellpi = this->fetchWellPI(reportStep, *action, schedule, matching_wells); @@ -1390,7 +1390,7 @@ public: this->wellModel_.updateEclWell(reportStep, wname); } } else { - std::string msg = fmt::format("The action: {} evaluated to false at {}", action->name(), ts); + std::string msg = "The action: " + action->name() + " evaluated to false at " + ts; Opm::OpmLog::info(msg); } }