[geos-devel] Protected Geometry ctors

strk at refractions.net strk at refractions.net
Fri Apr 28 07:15:19 EDT 2006


I've committed a change in HEAD that makes Geometry
constructors protected. This is to enforce construction
trough GeometryFactory, which is the only friend class
of the whole Geometry hierarchy now.

Destructors are still public, to allow for use in auto_ptr.

Unit tests have been updated to allow build.

--strk;

 /"\    ASCII Ribbon Campaign
 \ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
 / \    Keep it ASCII. 




More information about the geos-devel mailing list