diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-01-17 21:15:24 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-01-17 21:15:24 +0100 |
| commit | 3fc48e6146e020b86a0ef87749cc645f9b4fa113 (patch) | |
| tree | 810b23b6de2e775eca03eafd81ff659a8a0319a0 /include/proj/coordinatesystem.hpp | |
| parent | 6d2af0904652baba69ec81261c914e9b68221dac (diff) | |
| download | PROJ-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 'include/proj/coordinatesystem.hpp')
| -rw-r--r-- | include/proj/coordinatesystem.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/proj/coordinatesystem.hpp b/include/proj/coordinatesystem.hpp index 1a8f61cd..9216bf33 100644 --- a/include/proj/coordinatesystem.hpp +++ b/include/proj/coordinatesystem.hpp @@ -129,7 +129,7 @@ class PROJ_GCC_DLL Meridian : public common::IdentifiedObject { PROJ_DLL ~Meridian() override; //! @endcond - PROJ_DLL const common::Angle &longitude() PROJ_CONST_DECL; + PROJ_DLL const common::Angle &longitude() PROJ_PURE_DECL; // non-standard PROJ_DLL static MeridianNNPtr create(const common::Angle &longitudeIn); @@ -172,12 +172,12 @@ class PROJ_GCC_DLL CoordinateSystemAxis final PROJ_DLL ~CoordinateSystemAxis() override; //! @endcond - PROJ_DLL const std::string &abbreviation() PROJ_CONST_DECL; - PROJ_DLL const AxisDirection &direction() PROJ_CONST_DECL; - PROJ_DLL const common::UnitOfMeasure &unit() PROJ_CONST_DECL; - PROJ_DLL const util::optional<double> &minimumValue() PROJ_CONST_DECL; - PROJ_DLL const util::optional<double> &maximumValue() PROJ_CONST_DECL; - PROJ_DLL const MeridianPtr &meridian() PROJ_CONST_DECL; + PROJ_DLL const std::string &abbreviation() PROJ_PURE_DECL; + PROJ_DLL const AxisDirection &direction() PROJ_PURE_DECL; + PROJ_DLL const common::UnitOfMeasure &unit() PROJ_PURE_DECL; + PROJ_DLL const util::optional<double> &minimumValue() PROJ_PURE_DECL; + PROJ_DLL const util::optional<double> &maximumValue() PROJ_PURE_DECL; + PROJ_DLL const MeridianPtr &meridian() PROJ_PURE_DECL; // Non-standard PROJ_DLL static CoordinateSystemAxisNNPtr @@ -242,7 +242,7 @@ class PROJ_GCC_DLL CoordinateSystem : public common::IdentifiedObject { //! @endcond PROJ_DLL const std::vector<CoordinateSystemAxisNNPtr> & - axisList() PROJ_CONST_DECL; + axisList() PROJ_PURE_DECL; PROJ_PRIVATE : |
