mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: revert bitSet/HashSet setMany() to set() method (issue #837)
- improves backward compatibility and more naming consistency. Retain setMany(iter1, iter2) to avoid ambiguity with the PackedList::set(index, value) method.
This commit is contained in:
@ -305,7 +305,7 @@ bool Foam::functionObjectList::readFunctionObject
|
||||
else if (args.size() > 1)
|
||||
{
|
||||
funcDict.set("fields", args);
|
||||
requiredFields.insertMany(args);
|
||||
requiredFields.insert(args);
|
||||
}
|
||||
else if (funcDict.found("field"))
|
||||
{
|
||||
@ -313,7 +313,7 @@ bool Foam::functionObjectList::readFunctionObject
|
||||
}
|
||||
else if (funcDict.found("fields"))
|
||||
{
|
||||
requiredFields.insertMany(wordReList(funcDict.lookup("fields")));
|
||||
requiredFields.insert(wordReList(funcDict.lookup("fields")));
|
||||
}
|
||||
|
||||
// Insert named arguments
|
||||
|
||||
Reference in New Issue
Block a user