SimpleVector initAlloc parameter

Johannes Hofmann <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
Hi,

I noticed that the initAlloc parameter of lout::SimpleVector() is
ignored and we always start with a 1-element array (see
SimpleVector::resize()).
To avoid confusion I would either remove the initAlloc parameter
altogether or use it and adjust the callers as appropriate.
I'm fine either way, but the current solution is not good.

Any opinions?

Cheers,
Johannes
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.