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:
@ -82,7 +82,7 @@ Foam::PackingModel<CloudType>::New
|
||||
CloudType& owner
|
||||
)
|
||||
{
|
||||
word modelType(dict.lookup(typeName));
|
||||
const word modelType(dict.get<word>(typeName));
|
||||
|
||||
Info<< "Selecting packing model " << modelType << endl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user