[geos-commits] [SCM] GEOS branch master updated. c7a5e5c6fae0e553e943f32af4f279eaafeb2231

git at osgeo.org git at osgeo.org
Wed Jul 18 06:15:28 PDT 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".

The branch, master has been updated
       via  c7a5e5c6fae0e553e943f32af4f279eaafeb2231 (commit)
      from  c13f07516098e0cb4b4fe5c58c678d27b38b580e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c7a5e5c6fae0e553e943f32af4f279eaafeb2231
Author: Daniel Baston <dbaston at gmail.com>
Date:   Wed Jul 18 09:14:47 2018 -0400

    Simplify definition of ItemBoundable destructor

diff --git a/include/geos/index/strtree/ItemBoundable.h b/include/geos/index/strtree/ItemBoundable.h
index 1454827..f1cda7a 100644
--- a/include/geos/index/strtree/ItemBoundable.h
+++ b/include/geos/index/strtree/ItemBoundable.h
@@ -34,7 +34,7 @@ class GEOS_DLL ItemBoundable: public Boundable
 public:
 
     ItemBoundable(const void* newBounds, void* newItem);
-	~ItemBoundable() override;
+	~ItemBoundable() override = default;
 
     const void* getBounds() const override;
 	void* getItem() const;
diff --git a/src/index/strtree/ItemBoundable.cpp b/src/index/strtree/ItemBoundable.cpp
index 1a5bb8e..64835ca 100644
--- a/src/index/strtree/ItemBoundable.cpp
+++ b/src/index/strtree/ItemBoundable.cpp
@@ -24,10 +24,6 @@ ItemBoundable::ItemBoundable(const void* newBounds, void* newItem) :
 {
 }
 
-ItemBoundable::~ItemBoundable()
-{
-}
-
 const void*
 ItemBoundable::getBounds() const {
 	return bounds;

-----------------------------------------------------------------------

Summary of changes:
 include/geos/index/strtree/ItemBoundable.h | 2 +-
 src/index/strtree/ItemBoundable.cpp        | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list