janitoring: use string concat instead of operator+

and avoid unnecessary temporary
This commit is contained in:
Arne Morten Kvarving 2025-01-29 12:16:19 +01:00
parent d2b272b5f5
commit aa3226a71f

View File

@ -349,12 +349,10 @@ void FlowGenericVanguard::init()
{
if (comm.rank() == 0)
{
std::string message =
std::string("Option --allow-distributed-wells=true in a model with\n")
+ "multisegment wells. This feature is still experimental. You can\n"
+ "set --use-multisegment-well=false to treat the existing \n"
+ "multisegment wells as standard wells.";
OpmLog::info(message);
OpmLog::info("Option --allow-distributed-wells=true in a model with\n"
"multisegment wells. This feature is still experimental. You can\n"
"set --use-multisegment-well=false to treat the existing\n"
"multisegment wells as standard wells.");
}
comm.barrier();
}