[prev in list] [next in list] [prev in thread] [next in thread] 

List:       geos-commits
Subject:    [geos-commits] r2693 - trunk/source/headers/geos/algorithm
From:       svn_geos () osgeo ! org
Date:       2009-10-23 9:34:24
Message-ID: 20091023093424.5C147E0041F () lists ! osgeo ! org
[Download RAW message or body]

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

_______________________________________________
geos-commits mailing list
geos-commits@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geos-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic