test_wellstate: avoid use of sstream

This commit is contained in:
Arne Morten Kvarving
2023-01-02 15:25:32 +01:00
parent b031c289bf
commit 853b6d1172
+3 -1
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");
}
}
}