Merge pull request #1364 from lioncash/content

file-sys: Default heavy-weight class destructors in the cpp file
This commit is contained in:
bunnei
2018-09-20 23:31:31 -04:00
committed by GitHub
25 changed files with 45 additions and 1 deletions

View File

@ -28,6 +28,8 @@ NACP::NACP(VirtualFile file) : raw(std::make_unique<RawNACP>()) {
file->ReadObject(raw.get());
}
NACP::~NACP() = default;
const LanguageEntry& NACP::GetLanguageEntry(Language language) const {
if (language != Language::Default) {
return raw->language_entries.at(static_cast<u8>(language));