[geos-devel] Request for change
strk at refractions.net
strk at refractions.net
Wed Mar 1 05:50:37 EST 2006
I committed the change, simplifying things is always worth.
I'm still interested in a check for that VC++ bug, though.
On Wed, Mar 01, 2006 at 11:35:32AM +0100, strk at refractions.net wrote:
> On Wed, Mar 01, 2006 at 11:25:48AM +0100, Stefan Zschocke wrote:
> > The const does not make any difference, as the string constructor still is
> > called.
> > And the string-ctor does the dynamic memory allocation.
> > With the string declaration the texts are actually duplicated in memory:
> > once as constants and once as static string.
> > Stefan
>
> Did you check it or is it an assumption ?
> I think C++ libs handle consts differently.
>
> There are other cases of static allocations, btw,
> are you saying that this is the ony one cousing that
> false leak reports ?
>
> --strk;
More information about the geos-devel
mailing list