[geos-commits] [SCM] GEOS branch main updated. 701c868fa9ad8e82a3aa43f0bd19ec2003722f45

git at osgeo.org git at osgeo.org
Thu Sep 12 13:00:10 PDT 2024


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, main has been updated
       via  701c868fa9ad8e82a3aa43f0bd19ec2003722f45 (commit)
      from  53b111b010bffff6c4a58dc5db123941604c4273 (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 701c868fa9ad8e82a3aa43f0bd19ec2003722f45
Author: Even Rouault <even.rouault at spatialys.com>
Date:   Thu Sep 12 21:59:45 2024 +0200

    Geometry.h: remove useless virtual method qualifiers (#1155)

diff --git a/include/geos/geom/Geometry.h b/include/geos/geom/Geometry.h
index c2378f4c1..5ac8a5619 100644
--- a/include/geos/geom/Geometry.h
+++ b/include/geos/geom/Geometry.h
@@ -270,8 +270,7 @@ public:
      *
      * @return the ID of the coordinate space in which the Geometry is defined.
      */
-    virtual int
-    getSRID() const
+    int getSRID() const
     {
         return SRID;
     }
@@ -346,7 +345,7 @@ public:
      *
      * @see IsValidOp
      */
-    virtual bool isValid() const;
+    bool isValid() const;
 
     /// Returns whether or not the set of points in this Geometry is empty.
     virtual bool isEmpty() const = 0; //Abstract
@@ -540,7 +539,7 @@ public:
      * Returns true if the DE-9IM intersection matrix for the two
      * Geometrys is T*F**FFF*.
      */
-    virtual bool equals(const Geometry* g) const;
+    bool equals(const Geometry* g) const;
 
     /** \brief
      * Returns <code>true</code> if this geometry covers the
@@ -819,7 +818,7 @@ public:
     virtual void normalize() = 0; //Abstract
 
     /// Comparator for sorting geometry
-    virtual int compareTo(const Geometry* geom) const;
+    int compareTo(const Geometry* geom) const;
 
     /// Returns the area of this Geometry.
     virtual double getArea() const;
@@ -883,7 +882,7 @@ public:
      * Notifies this Geometry that its Coordinates have been changed
      * by an external party (using a CoordinateFilter, for example).
      */
-    virtual void geometryChanged();
+    void geometryChanged();
 
     /**
      * \brief

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

Summary of changes:
 include/geos/geom/Geometry.h | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list