Skip to content
Snippets Groups Projects
Commit 82bad81d authored by Mark OLESEN's avatar Mark OLESEN
Browse files

STYLE: use readList mechanism for -funcs option

- allows single or multiple entries
parent e0f83938
No related branches found
No related tags found
No related merge requests found
......@@ -435,8 +435,7 @@ Foam::autoPtr<Foam::functionObjectList> Foam::functionObjectList::New
{
modifiedControlDict = true;
ITstream is("funcs", args["funcs"]);
wordList funcNames(is);
wordList funcNames = args.readList<word>("funcs");
for (const word& funcName : funcNames)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment