[geos-commits] r2693 - trunk/source/headers/geos/algorithm

svn_geos at osgeo.org svn_geos at osgeo.org
Fri Oct 23 05:34:24 EDT 2009


Author: strk
Date: 2009-10-23 05:34:24 -0400 (Fri, 23 Oct 2009)
New Revision: 2693

Modified:
   trunk/source/headers/geos/algorithm/BoundaryNodeRule.h
Log:
Add virtual dtor to virtual class

Modified: trunk/source/headers/geos/algorithm/BoundaryNodeRule.h
===================================================================
--- trunk/source/headers/geos/algorithm/BoundaryNodeRule.h	2009-10-23 09:33:56 UTC (rev 2692)
+++ trunk/source/headers/geos/algorithm/BoundaryNodeRule.h	2009-10-23 09:34:24 UTC (rev 2693)
@@ -50,6 +50,9 @@
 
 public:
 
+	// virtual classes should always have a virtual destructor..
+	virtual ~BoundaryNodeRule() {}
+
         /**
          * Tests whether a point that lies in <tt>boundaryCount</tt>
          * geometry component boundaries is considered to form part of



More information about the geos-commits mailing list