COMP: rename dictionary::read<T> to dictionary::readEntry<T>

- avoids compiler ambiguity when virtual methods such as
  IOdictionary::read() exist.

- the method was introduced in 1806, and was thus not yet widely used
This commit is contained in:
Mark Olesen
2018-07-30 15:52:40 +02:00
parent 215570915e
commit f00c7a655c
49 changed files with 125 additions and 113 deletions

View File

@ -120,12 +120,12 @@ Foam::dictionary Foam::solverTemplate::readFluidFieldTemplates
else if (modelType == "RAS")
{
turbPropDict.subDict(modelType)
.read("RASModel", turbulenceModel);
.readEntry("RASModel", turbulenceModel);
}
else if (modelType == "LES")
{
turbPropDict.subDict(modelType)
.read("LESModel", turbulenceModel);
.readEntry("LESModel", turbulenceModel);
}
else
{