[geos-commits] [SCM] GEOS branch master updated. 831a11e0c791550cef57f240a2b6d666f8f2b6dd

git at osgeo.org git at osgeo.org
Fri Jul 31 09:14:50 PDT 2020


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  831a11e0c791550cef57f240a2b6d666f8f2b6dd (commit)
       via  bd4deb1a124288d55a49175d213c0e530e1f10fb (commit)
      from  2832e55e9acb696a1bf67ec9143808117acd2528 (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 831a11e0c791550cef57f240a2b6d666f8f2b6dd
Merge: 2832e55 bd4deb1
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Fri Jul 31 09:14:36 2020 -0700

    Merge remote-tracking branch 'raul/clang_warning_202007'


commit bd4deb1a124288d55a49175d213c0e530e1f10fb
Author: Raúl Marín <git at rmr.ninja>
Date:   Fri Jul 31 15:28:36 2020 +0200

    DD: Address clang warning
    
    In file included from DD.cpp:18:
    ../../include/geos/math/DD.h:122:9: error: definition of implicit copy assignment operator for 'DD' is deprecated because it has a user-declared copy constructor [-Werror,-Wdeprecated-copy]
            DD(const DD &dd) : hi(dd.hi), lo(dd.lo) {};
            ^
    DD.cpp:389:15: note: in implicit copy assignment operator for 'geos::math::DD' first required here
                r = r*r;

diff --git a/include/geos/math/DD.h b/include/geos/math/DD.h
index bf2e42c..0e94681 100644
--- a/include/geos/math/DD.h
+++ b/include/geos/math/DD.h
@@ -119,7 +119,6 @@ class GEOS_DLL DD {
     public:
         DD(double p_hi, double p_lo) : hi(p_hi), lo(p_lo) {};
         DD(double x) : hi(x), lo(0.0) {};
-        DD(const DD &dd) : hi(dd.hi), lo(dd.lo) {};
         DD() : hi(0.0), lo(0.0) {};
 
         bool operator==(const DD &rhs) const

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

Summary of changes:
 include/geos/math/DD.h | 1 -
 1 file changed, 1 deletion(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list