Skip to content
Snippets Groups Projects
Commit b22ada09 authored by Mark Olesen's avatar Mark Olesen
Browse files

DynamicList re-visited:

 - shrink() should now correctly actually shrink
 - List::transfer(DynamicList&) invokes shrink() before transferring
   contents: otherwise the ununsed allocated space is never recovered
   until much, much later.
 - DynamicList::transfer(List&) no longer throws a FatalError when
   transferring in a smaller list. The original list contents are getting
   tossed away anyhow!
parent bb5bc164
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment