mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: use dictionary::get<word>() instead of lookup() in a few places
This commit is contained in:
@ -257,7 +257,7 @@ int main(int argc, char *argv[])
|
||||
entry::disableFunctionEntries = 1;
|
||||
|
||||
// Read the solver
|
||||
const word& solverName = controlDict.lookup("application");
|
||||
const word solverName(controlDict.get<word>("application"));
|
||||
|
||||
// Generate solver template
|
||||
const solverTemplate solver(baseDir, runTime, solverName);
|
||||
|
||||
Reference in New Issue
Block a user