mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -44,9 +44,9 @@ Foam::IOerror::IOerror(const string& title)
|
||||
Foam::IOerror::IOerror(const dictionary& errDict)
|
||||
:
|
||||
error(errDict),
|
||||
ioFileName_(errDict.lookup("ioFileName")),
|
||||
ioStartLineNumber_(readLabel(errDict.lookup("ioStartLineNumber"))),
|
||||
ioEndLineNumber_(readLabel(errDict.lookup("ioEndLineNumber")))
|
||||
ioFileName_(errDict.get<string>("ioFileName")),
|
||||
ioStartLineNumber_(errDict.get<label>("ioStartLineNumber")),
|
||||
ioEndLineNumber_(errDict.get<label>("ioEndLineNumber"))
|
||||
{}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user