mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-11-01 21:07:52 +00:00
control_metadata: Remove unnecessary reference to base file
This commit is contained in:
parent
149bda980a
commit
dda8ef11c7
2 changed files with 1 additions and 2 deletions
|
@ -16,7 +16,7 @@ std::string LanguageEntry::GetDeveloperName() const {
|
|||
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());
|
||||
}
|
||||
|
||||
|
|
|
@ -81,7 +81,6 @@ public:
|
|||
std::string GetVersionString() const;
|
||||
|
||||
private:
|
||||
VirtualFile file;
|
||||
std::unique_ptr<RawNACP> raw;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue