mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: change argList get<> and getList<> from read<>, readList<>
- more consistent with dictionary method naming. The get<> or getList<> returns a value, doesn't read into a existing location.
This commit is contained in:
@ -435,7 +435,7 @@ Foam::autoPtr<Foam::functionObjectList> Foam::functionObjectList::New
|
||||
{
|
||||
modifiedControlDict = true;
|
||||
|
||||
wordList funcNames = args.readList<word>("funcs");
|
||||
wordList funcNames = args.getList<word>("funcs");
|
||||
|
||||
for (const word& funcName : funcNames)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user