[geos-commits] [SCM] GEOS branch main updated. 36686663d0d3758f1068807733bd3a8d337d78af

git at osgeo.org git at osgeo.org
Fri Dec 5 12:53:30 PST 2025


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  36686663d0d3758f1068807733bd3a8d337d78af (commit)
      from  cad26ad980e9c7e15e7286122abcf091c37aa398 (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 36686663d0d3758f1068807733bd3a8d337d78af
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Fri Dec 5 12:53:07 2025 -0800

    Quiet MSVC compiler warning

diff --git a/src/util/string.cpp b/src/util/string.cpp
index b61b147c1..f3712f58b 100644
--- a/src/util/string.cpp
+++ b/src/util/string.cpp
@@ -56,7 +56,14 @@ bool startsWith(const std::string & s, char prefix) {
 
 void toUpper(std::string& s)
 {
-    std::transform(s.begin(), s.end(), s.begin(), ::toupper);
+    std::transform(
+        s.begin(),
+        s.end(),
+        s.begin(),
+        [](unsigned char c) {
+            return (char)std::tolower(c);
+        }
+    );
 }
 
 

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

Summary of changes:
 src/util/string.cpp | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list