test_wellstate: avoid use of sstream

This commit is contained in:
Arne Morten Kvarving 2023-01-02 15:24:35 +01:00
parent b031c289bf
commit 853b6d1172

View File

@ -112,7 +112,9 @@ struct Setup
} else {
if (completion.state() != Opm::Connection::State::SHUT) {
OPM_THROW(std::runtime_error,
"Completion state: " << Opm::Connection::State2String(completion.state()) << " not handled");
"Completion state: " +
Opm::Connection::State2String(completion.state()) +
" not handled");
}
}
}