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
......@@ -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)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment