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
This commit is contained in:
Léo Lam 2017-09-15 20:43:19 +02:00
parent 7cb8d6612c
commit 6f1b156020
2 changed files with 5 additions and 0 deletions
Source/Core/DiscIO

View File

@ -277,4 +277,6 @@ VolumeGC::ConvertedGCBanner VolumeGC::ExtractBannerInformation(const GCBanner& b
return banner;
}
VolumeGC::ConvertedGCBanner::ConvertedGCBanner() = default;
VolumeGC::ConvertedGCBanner::~ConvertedGCBanner() = default;
} // namespace

View File

@ -81,6 +81,9 @@ private:
struct ConvertedGCBanner
{
ConvertedGCBanner();
~ConvertedGCBanner();
std::map<Language, std::string> short_names;
std::map<Language, std::string> long_names;
std::map<Language, std::string> short_makers;