[geos-devel] Re: [GEOS] #500: default initialization of an object
of const type
'const geos::operation::overlay::OverlayNodeFactory' requires a
user-provided default constructor
GEOS
geos-trac at osgeo.org
Mon Dec 12 04:46:48 EST 2011
#500: default initialization of an object of const type 'const
geos::operation::overlay::OverlayNodeFactory' requires a user-provided
default constructor
------------------------+---------------------------------------------------
Reporter: hobu | Owner: geos-devel@…
Type: defect | Status: new
Priority: minor | Milestone: 3.3.2
Component: Default | Version: 3.3.1
Severity: Unassigned | Keywords:
------------------------+---------------------------------------------------
Comment(by strk):
OverlayNodeFactory does have a user-provided default constructor.
Only it is inlined (it's in OverlayNodeFactory.h).
Anyway, does moving the static into the ::instance() method fixes the
build with clang ?
See attached patch.
--
Ticket URL: <http://trac.osgeo.org/geos/ticket/500#comment:1>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
More information about the geos-devel
mailing list