control_metadata: Remove unnecessary reference to base file
This commit is contained in:
parent
149bda980a
commit
dda8ef11c7
|
@ -16,7 +16,7 @@ std::string LanguageEntry::GetDeveloperName() const {
|
||||||
return Common::StringFromFixedZeroTerminatedBuffer(developer_name.data(), 0x100);
|
return Common::StringFromFixedZeroTerminatedBuffer(developer_name.data(), 0x100);
|
||||||
}
|
}
|
||||||
|
|
||||||
NACP::NACP(VirtualFile file_) : file(std::move(file_)), raw(std::make_unique<RawNACP>()) {
|
NACP::NACP(VirtualFile file) : raw(std::make_unique<RawNACP>()) {
|
||||||
file->ReadObject(raw.get());
|
file->ReadObject(raw.get());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -81,7 +81,6 @@ public:
|
||||||
std::string GetVersionString() const;
|
std::string GetVersionString() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
VirtualFile file;
|
|
||||||
std::unique_ptr<RawNACP> raw;
|
std::unique_ptr<RawNACP> raw;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue