adjust to upstream enum changes

This commit is contained in:
Arne Morten Kvarving
2023-01-18 09:58:57 +01:00
parent 6d97ca97a1
commit 7b2b18045e
4 changed files with 11 additions and 11 deletions

View File

@@ -455,7 +455,7 @@ GasLiftSingleWellGeneric::debugShowProducerControlMode() const
{
const int well_index = this->well_state_.index(this->well_name_).value();
const Well::ProducerCMode& control_mode = this->well_state_.well(well_index).production_cmode;
const std::string msg = fmt::format("Current control mode is: {}", Well::ProducerCMode2String(control_mode));
const std::string msg = fmt::format("Current control mode is: {}", WellProducerCMode2String(control_mode));
displayDebugMessage_(msg);
}