From 3fc48e6146e020b86a0ef87749cc645f9b4fa113 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Thu, 17 Jan 2019 21:15:24 +0100 Subject: Remove wrong use of PROJ_CONST_DECL and replace it with PROJ_PURE_DECL (fixes #1224) --- src/iso19111/io.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/iso19111/io.cpp') 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 &children() PROJ_CONST_DEFN { + inline const std::vector &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, -- cgit v1.2.3