std::string default construct to empty string

This commit is contained in:
Arne Morten Kvarving 2023-02-08 14:54:48 +01:00
parent 8beb8adfc6
commit 1919f6ae54

View File

@ -432,7 +432,7 @@ namespace Opm {
} }
SimulatorReportSingle substepReport; SimulatorReportSingle substepReport;
std::string causeOfFailure = ""; std::string causeOfFailure;
try { try {
substepReport = solver.step(substepTimer); substepReport = solver.step(substepTimer);
if (solverVerbose_) { if (solverVerbose_) {