[geos-commits] [SCM] GEOS branch main updated. b77f7fa6fb4161f3587eba1b6e7f00197ce46bc5
git at osgeo.org
git at osgeo.org
Tue Feb 4 11:42:50 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 b77f7fa6fb4161f3587eba1b6e7f00197ce46bc5 (commit)
from 792bd641d45f83fc20acb7c01230d7b571b2c3b5 (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 b77f7fa6fb4161f3587eba1b6e7f00197ce46bc5
Author: Martin Davis <mtnclimb at gmail.com>
Date: Tue Feb 4 11:42:26 2025 -0800
Minor Dev Notes fix
diff --git a/DEVELOPER-NOTES.md b/DEVELOPER-NOTES.md
index 78989dd8c..516dc2cb1 100644
--- a/DEVELOPER-NOTES.md
+++ b/DEVELOPER-NOTES.md
@@ -70,11 +70,11 @@ public:
* [A raw pointer (a T*) is non-owning](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rr-ptr)
* [A raw reference (a T&) is non-owning](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rr-ref)
-### Function Parameter calling convention
+### Function Parameter calling conventions
* Prefer passing values by reference (`Geometry&`) instead of pointer (`Geometry*`),
particularly for API (public) functions
- * Note: many GEOS API functions use pass-by-pointer instead - this is deprecated
+ * Note: many GEOS API functions use pass-by-pointer, but this is just historical baggage
* Pass-by-pointer can be used if the argument may be NULL (this is rare for API functions)
### Avoid Many Small Heap Allocations
-----------------------------------------------------------------------
Summary of changes:
DEVELOPER-NOTES.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list