Add protected member List::size(const label) and removed some of the old
usage of the public 'label& List::size()'. IMO this method is much too dangerous to leave public - the different signature is needed to avoid confusing the compiler.
Showing
- src/OpenFOAM/containers/Lists/DynamicList/DynamicListI.H 10 additions, 10 deletionssrc/OpenFOAM/containers/Lists/DynamicList/DynamicListI.H
- src/OpenFOAM/containers/Lists/List/List.H 6 additions, 0 deletionssrc/OpenFOAM/containers/Lists/List/List.H
- src/OpenFOAM/containers/Lists/List/ListI.H 7 additions, 0 deletionssrc/OpenFOAM/containers/Lists/List/ListI.H
- src/OpenFOAM/containers/Lists/SortableList/SortableList.C 12 additions, 1 deletionsrc/OpenFOAM/containers/Lists/SortableList/SortableList.C
- src/OpenFOAM/containers/Lists/SortableList/SortableList.H 8 additions, 2 deletionssrc/OpenFOAM/containers/Lists/SortableList/SortableList.H
Please register or sign in to comment