aboutsummaryrefslogtreecommitdiff
path: root/src/iso19111/io.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-01-17 21:15:24 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-01-17 21:15:24 +0100
commit3fc48e6146e020b86a0ef87749cc645f9b4fa113 (patch)
tree810b23b6de2e775eca03eafd81ff659a8a0319a0 /src/iso19111/io.cpp
parent6d2af0904652baba69ec81261c914e9b68221dac (diff)
downloadPROJ-3fc48e6146e020b86a0ef87749cc645f9b4fa113.tar.gz
PROJ-3fc48e6146e020b86a0ef87749cc645f9b4fa113.zip
Remove wrong use of PROJ_CONST_DECL and replace it with PROJ_PURE_DECL (fixes #1224)
Diffstat (limited to 'src/iso19111/io.cpp')
-rw-r--r--src/iso19111/io.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/iso19111/io.cpp b/src/iso19111/io.cpp
index 5be02ffe..52c484b9 100644
--- a/src/iso19111/io.cpp
+++ b/src/iso19111/io.cpp
@@ -782,15 +782,15 @@ struct WKTNode::Private {
explicit Private(const std::string &valueIn) : value_(valueIn) {}
// cppcheck-suppress functionStatic
- inline const std::string &value() PROJ_CONST_DEFN { return value_; }
+ inline const std::string &value() PROJ_PURE_DEFN { return value_; }
// cppcheck-suppress functionStatic
- inline const std::vector<WKTNodeNNPtr> &children() PROJ_CONST_DEFN {
+ inline const std::vector<WKTNodeNNPtr> &children() PROJ_PURE_DEFN {
return children_;
}
// cppcheck-suppress functionStatic
- inline size_t childrenSize() PROJ_CONST_DEFN { return children_.size(); }
+ inline size_t childrenSize() PROJ_PURE_DEFN { return children_.size(); }
// cppcheck-suppress functionStatic
const WKTNodeNNPtr &lookForChild(const std::string &childName,