From 6f1b1560209d32c9678274af3fbb9d0c85cc79b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Fri, 15 Sep 2017 20:43:19 +0200 Subject: [PATCH] VolumeGC: Add a default constructor for ConvertedGCBanner Without this, it fails to build with the following error in g++ 7.2.0: > constructor required before non-static data member has been parsed --- Source/Core/DiscIO/VolumeGC.cpp | 2 ++ Source/Core/DiscIO/VolumeGC.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Source/Core/DiscIO/VolumeGC.cpp b/Source/Core/DiscIO/VolumeGC.cpp index b61d273388..78e2dd2f63 100644 --- a/Source/Core/DiscIO/VolumeGC.cpp +++ b/Source/Core/DiscIO/VolumeGC.cpp @@ -277,4 +277,6 @@ VolumeGC::ConvertedGCBanner VolumeGC::ExtractBannerInformation(const GCBanner& b return banner; } +VolumeGC::ConvertedGCBanner::ConvertedGCBanner() = default; +VolumeGC::ConvertedGCBanner::~ConvertedGCBanner() = default; } // namespace diff --git a/Source/Core/DiscIO/VolumeGC.h b/Source/Core/DiscIO/VolumeGC.h index 3ba9fdb6fc..fc065a8d60 100644 --- a/Source/Core/DiscIO/VolumeGC.h +++ b/Source/Core/DiscIO/VolumeGC.h @@ -81,6 +81,9 @@ private: struct ConvertedGCBanner { + ConvertedGCBanner(); + ~ConvertedGCBanner(); + std::map short_names; std::map long_names; std::map short_makers;