BUG: CompactListList transfer leaves old size (fixes #1863)
- use clear/swap paradigm for more code reuse Note: fixed similar issue with copy/reuse constructor
Showing
- src/OpenFOAM/containers/Lists/CompactListList/CompactListList.C 5 additions, 6 deletions...enFOAM/containers/Lists/CompactListList/CompactListList.C
- src/OpenFOAM/containers/Lists/CompactListList/CompactListList.H 9 additions, 9 deletions...enFOAM/containers/Lists/CompactListList/CompactListList.H
- src/OpenFOAM/containers/Lists/CompactListList/CompactListListI.H 11 additions, 6 deletions...nFOAM/containers/Lists/CompactListList/CompactListListI.H
Please register or sign in to comment