[geos-commits] r3183 - trunk/include/geos/index/strtree

svn_geos at osgeo.org svn_geos at osgeo.org
Fri Feb 4 07:26:53 EST 2011


Author: strk
Date: 2011-02-04 04:26:53 -0800 (Fri, 04 Feb 2011)
New Revision: 3183

Modified:
   trunk/include/geos/index/strtree/AbstractSTRtree.h
Log:
Avoid useless reinterpret_cast

Modified: trunk/include/geos/index/strtree/AbstractSTRtree.h
===================================================================
--- trunk/include/geos/index/strtree/AbstractSTRtree.h	2011-02-04 10:12:57 UTC (rev 3182)
+++ trunk/include/geos/index/strtree/AbstractSTRtree.h	2011-02-04 12:26:53 UTC (rev 3183)
@@ -96,7 +96,7 @@
     static void delete_item(ItemsListItem& item)
     {
         if (ItemsListItem::item_is_list == item.t)
-            delete reinterpret_cast<ItemsList*>(item.item.l);
+            delete item.item.l;
     }
 
 public:



More information about the geos-commits mailing list