[geos-commits] [SCM] GEOS branch 3.7 updated. 0aa1031190752bb666f2be9af0f1c79b5f0693d0

git at osgeo.org git at osgeo.org
Fri Jan 25 16:49:58 PST 2019


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, 3.7 has been updated
       via  0aa1031190752bb666f2be9af0f1c79b5f0693d0 (commit)
      from  1d5dae525c266ced3d8739b3ada1b1999ef952e2 (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 0aa1031190752bb666f2be9af0f1c79b5f0693d0
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Fri Jan 25 16:49:44 2019 -0800

    Convert from nullptr to NULL

diff --git a/src/geom/Envelope.cpp b/src/geom/Envelope.cpp
index 3def38f..0f11113 100644
--- a/src/geom/Envelope.cpp
+++ b/src/geom/Envelope.cpp
@@ -140,10 +140,10 @@ Envelope::Envelope(const string &str)
   vector<string> values = split(coordString, ":,");
 
   // create a new envelopet
-  init(strtod(values[0].c_str(), nullptr),
-       strtod(values[1].c_str(), nullptr),
-       strtod(values[2].c_str(), nullptr),
-       strtod(values[3].c_str(), nullptr));
+  init(strtod(values[0].c_str(), NULL),
+       strtod(values[1].c_str(), NULL),
+       strtod(values[2].c_str(), NULL),
+       strtod(values[3].c_str(), NULL));
 }
 
 /*public*/

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

Summary of changes:
 src/geom/Envelope.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list