aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-03-25 11:11:21 +0000
committerEven Rouault <even.rouault@spatialys.com>2019-03-25 11:44:34 +0000
commitb900758f13d4be8fabc17edb0290aee08da0a69d (patch)
tree63fdbc22f2c31b43d9b91cc823e6623262366f87 /src
parent9326a0dca69da0427c1e8d76f5893a332d0c7c8a (diff)
downloadPROJ-b900758f13d4be8fabc17edb0290aee08da0a69d.tar.gz
PROJ-b900758f13d4be8fabc17edb0290aee08da0a69d.zip
crs.cpp: remove non-intented (harmless here) pass by reference of a pointer
Diffstat (limited to 'src')
-rw-r--r--src/iso19111/crs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/iso19111/crs.cpp b/src/iso19111/crs.cpp
index 4293c087..034feaaa 100644
--- a/src/iso19111/crs.cpp
+++ b/src/iso19111/crs.cpp
@@ -2422,7 +2422,7 @@ void DerivedCRS::setDerivingConversionCRS() {
// ---------------------------------------------------------------------------
-void DerivedCRS::baseExportToWKT(io::WKTFormatter *&formatter,
+void DerivedCRS::baseExportToWKT(io::WKTFormatter *formatter,
const std::string &keyword,
const std::string &baseKeyword) const {
formatter->startNode(keyword, !identifiers().empty());
@@ -4849,7 +4849,7 @@ DerivedCRSTemplate<DerivedCRSTraits>::create(
// ---------------------------------------------------------------------------
-static void DerivedCRSTemplateCheckExportToWKT(io::WKTFormatter *&formatter,
+static void DerivedCRSTemplateCheckExportToWKT(io::WKTFormatter *formatter,
const std::string &crsName,
bool wkt2_2018_only) {
const bool isWKT2 = formatter->version() == io::WKTFormatter::Version::WKT2;