diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-09-04 18:30:24 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-04 18:30:24 +0200 |
| commit | 7c2718623dd6607f49b557cd065aece9a4a00255 (patch) | |
| tree | 700f0305f312c2a4e70b558d4fe95e5701c9e7f7 /include/proj | |
| parent | 50bf1180df522e63a47323975535e5fb7bcd390c (diff) | |
| parent | 97f06e4c5ed8bb6cf1b7b2a8419131e9280747a1 (diff) | |
| download | PROJ-7c2718623dd6607f49b557cd065aece9a4a00255.tar.gz PROJ-7c2718623dd6607f49b557cd065aece9a4a00255.zip | |
Merge pull request #2347 from saprykin/master
Fix compiling warnings when using GCC 4.8.x
Diffstat (limited to 'include/proj')
| -rw-r--r-- | include/proj/datum.hpp | 2 | ||||
| -rw-r--r-- | include/proj/util.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/proj/datum.hpp b/include/proj/datum.hpp index 3fc5f5d8..f1d45c6b 100644 --- a/include/proj/datum.hpp +++ b/include/proj/datum.hpp @@ -541,7 +541,7 @@ class PROJ_GCC_DLL RealizationMethod : public util::CodeList { PROJ_FRIEND_OPTIONAL(RealizationMethod); PROJ_DLL explicit RealizationMethod( const std::string &nameIn = std::string()); - PROJ_DLL RealizationMethod(const RealizationMethod &other); + PROJ_DLL RealizationMethod(const RealizationMethod &other) = default; PROJ_DLL RealizationMethod &operator=(const RealizationMethod &other); }; diff --git a/include/proj/util.hpp b/include/proj/util.hpp index 84c93366..3d85e579 100644 --- a/include/proj/util.hpp +++ b/include/proj/util.hpp @@ -692,7 +692,7 @@ class CodeList { //! @endcond protected: explicit CodeList(const std::string &nameIn) : name_(nameIn) {} - CodeList(const CodeList &other) = default; + CodeList(const CodeList &) = default; CodeList &operator=(const CodeList &other); private: |
