std::string default construct to empty string

This commit is contained in:
Arne Morten Kvarving committed 2023-02-08 15:26:39 +01:00
1 parent 8beb8adfc6
commit 1919f6ae54
1 file changed
+1 -1
@@ -432,7 +432,7 @@ namespace Opm {
}
SimulatorReportSingle substepReport;
std::string causeOfFailure = "";
std::string causeOfFailure;
try {
substepReport = solver.step(substepTimer);
if (solverVerbose_) {