mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
BlackoilWellModelGeneric: avoid use of sstream
This commit is contained in:
parent
17d54c1416
commit
99e5dab134
@ -293,7 +293,9 @@ initializeWellPerfData()
|
|||||||
checker.connectionFound(connection_index);
|
checker.connectionFound(connection_index);
|
||||||
if (connection.state() != Connection::State::SHUT) {
|
if (connection.state() != Connection::State::SHUT) {
|
||||||
OPM_THROW(std::runtime_error,
|
OPM_THROW(std::runtime_error,
|
||||||
"Connection state: " << Connection::State2String(connection.state()) << " not handled");
|
"Connection state: " +
|
||||||
|
Connection::State2String(connection.state()) +
|
||||||
|
" not handled");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Note: we rely on the connections being filtered! I.e. there are only connections
|
// Note: we rely on the connections being filtered! I.e. there are only connections
|
||||||
|
Loading…
Reference in New Issue
Block a user