mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Avoid shadowing warning by using explicit scope.
This commit is contained in:
parent
2cc3be1629
commit
35ce9f5884
@ -109,8 +109,10 @@ namespace Opm{
|
||||
std::shared_ptr< const Deck > deck)
|
||||
{
|
||||
const int numSatRegions = deck->getKeyword("TABDIMS").getRecord(0).getItem("NTSFUN").get< int >(0);
|
||||
const std::string msg = "Number of saturation regions: " + std::to_string(numSatRegions) + "\n";
|
||||
OpmLog::info(msg);
|
||||
{
|
||||
const std::string msg = "Number of saturation regions: " + std::to_string(numSatRegions) + "\n";
|
||||
OpmLog::info(msg);
|
||||
}
|
||||
const auto& tableManager = eclState->getTableManager();
|
||||
const TableContainer& swofTables = tableManager.getSwofTables();
|
||||
const TableContainer& slgofTables = tableManager.getSlgofTables();
|
||||
|
Loading…
Reference in New Issue
Block a user