From 97f06e4c5ed8bb6cf1b7b2a8419131e9280747a1 Mon Sep 17 00:00:00 2001 From: Alexander Saprykin Date: Fri, 4 Sep 2020 14:50:16 +0200 Subject: Fix compiling warnings when using GCC 4.8.x --- include/proj/datum.hpp | 2 +- include/proj/util.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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: -- cgit v1.2.3