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:
@ -294,7 +294,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
Info<< "\nclear/assign from labelList\n";
|
||||
list4.clear();
|
||||
list4.setMany(labelList{0, 1, 2, 3, 12, 13, 14, 19, 20, 21});
|
||||
list4.set(labelList{0, 1, 2, 3, 12, 13, 14, 19, 20, 21});
|
||||
|
||||
report(list4, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user