Merge pull request #6065 from leoetlino/fix

VolumeGC: Add a default constructor for ConvertedGCBanner
This commit is contained in:
Leo Lam 2017-09-15 20:56:15 +02:00 committed by GitHub
commit ef6ca3c750
2 changed files with 5 additions and 0 deletions

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;