[geos-commits] [SCM] GEOS branch 3.10 updated. b5e9c3d8942e1e1496581390fecb7648d7f9adf2

git at osgeo.org git at osgeo.org
Wed Aug 14 12:01:38 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, 3.10 has been updated
       via  b5e9c3d8942e1e1496581390fecb7648d7f9adf2 (commit)
      from  27279ce1b7efc69a665f8bf6cc257856ae3263f4 (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 b5e9c3d8942e1e1496581390fecb7648d7f9adf2
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Wed Aug 14 12:01:02 2024 -0700

    Add header to build on MacOS

diff --git a/include/geos/io/ByteOrderDataInStream.h b/include/geos/io/ByteOrderDataInStream.h
index 58c4ce4c4..4789dc8d8 100644
--- a/include/geos/io/ByteOrderDataInStream.h
+++ b/include/geos/io/ByteOrderDataInStream.h
@@ -22,6 +22,7 @@
 
 #include <geos/export.h>
 #include <cstdint>
+#include <cstddef>
 
 //#include <geos/io/ParseException.h>
 //#include <geos/io/ByteOrderValues.h>
@@ -43,7 +44,7 @@ class GEOS_DLL ByteOrderDataInStream {
 
 public:
 
-    ByteOrderDataInStream(const unsigned char* buff = nullptr, size_t buff_sz = 0);
+    ByteOrderDataInStream(const unsigned char* buff = nullptr, std::size_t buff_sz = 0);
 
     ~ByteOrderDataInStream();
 
@@ -59,7 +60,7 @@ public:
 
     double readDouble(); // throws ParseException
 
-    size_t size() const;
+    std::size_t size() const;
 
 private:
     int byteOrder;

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

Summary of changes:
 include/geos/io/ByteOrderDataInStream.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list