From 839a3123d73028178375d65da0e46065375346fc Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 11 Jun 2019 10:09:32 +0200 Subject: Fix compilation error with gcc 4.9.3 (fixes #1512) --- src/iso19111/coordinateoperation.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/iso19111/coordinateoperation.cpp b/src/iso19111/coordinateoperation.cpp index 2686f515..1982e234 100644 --- a/src/iso19111/coordinateoperation.cpp +++ b/src/iso19111/coordinateoperation.cpp @@ -564,7 +564,14 @@ GridDescription::~GridDescription() = default; GridDescription::GridDescription(const GridDescription &) = default; -GridDescription::GridDescription(GridDescription &&) noexcept = default; +GridDescription::GridDescription(GridDescription &&other) noexcept + : shortName(std::move(other.shortName)), + fullName(std::move(other.fullName)), + packageName(std::move(other.packageName)), + url(std::move(other.url)), + directDownload(other.directDownload), + openLicense(other.openLicense), + available(other.available) {} //! @endcond -- cgit v1.2.3