STYLE: more explicit method name PtrList::count() -> count_nonnull()

STYLE: use two-parameter shallowCopy
This commit is contained in:
Mark Olesen
2024-02-08 15:52:48 +01:00
parent ff567dbe71
commit 732c8b3330
9 changed files with 36 additions and 61 deletions

View File

@ -412,7 +412,7 @@ int main(int argc, char *argv[])
}
{
Info<< "range-for of list (" << list1.count() << '/'
Info<< "range-for of list (" << list1.count_nonnull() << '/'
<< list1.size() << ") non-null entries" << nl
<< "(" << nl;
for (const auto& item : list1)