[geos-commits] [SCM] GEOS branch svn-3.6 updated. fe2e3db3b4f5df08d318dd758ddcc5c68b80379b

git at osgeo.org git at osgeo.org
Fri Jan 25 16:49:06 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, svn-3.6 has been updated
       via  fe2e3db3b4f5df08d318dd758ddcc5c68b80379b (commit)
      from  f704d26b13105a591f97a7b2a76d7ca782f0a6a2 (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 fe2e3db3b4f5df08d318dd758ddcc5c68b80379b
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Fri Jan 25 16:48:51 2019 -0800

    Go back to NULL instead of nullptr (c++11)

diff --git a/src/geom/Envelope.cpp b/src/geom/Envelope.cpp
index 997ce45..61800ac 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