[fdo][FDO304][Modified] Missing virtual destructor

Mateusz Loskot mateusz at loskot.net
Fri Nov 24 15:13:54 EST 2006


You can view the artifact detail at the following URL:

    https://fdo.osgeo.org/servlets/Scarab/id/FDO304

Type:
Defect

Artifact ID:
FDO304 (Missing virtual destructor)

Modified by:
Mateusz Loskot
mloskot (mateusz at loskot.net)

The following modifications were made to this artifact:
---------------------------------------------------------------------

-- Description set to new value:
Old value:
Following classes have virtual functions but no virtual destructor is defined:

FdoRdbmsPvcHandler
FdoXmlSaxHandler
FdoXmlSerializable
FdoXmlFeatureHandler

If these are base classes, they need virtual destructors, otherwise they are unsafe.
If they are not base classes, then their member functions do not need to be virtual, because polymorphic behavior is not expected.
New value:
Following classes have virtual functions but no virtual destructor is defined:

FdoRdbmsPvcHandler
FdoXmlSaxHandler
FdoXmlSerializable
FdoXmlFeatureHandler

and here:
FdoSmPhISADReader

If these are base classes, they need virtual destructors, otherwise they are unsafe.
If they are not base classes, then their member functions do not need to be virtual, because polymorphic behavior is not expected.



---------------------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Fdo_issues mailing list