mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
file_sys/submission_package: Correct constructor initialization list order
Orders the elements in the sequence to match the order in which they'll actually be initialized in.
This commit is contained in:
parent
c0b7ed8b58
commit
6bd6beee20
|
@ -19,8 +19,8 @@
|
||||||
|
|
||||||
namespace FileSys {
|
namespace FileSys {
|
||||||
NSP::NSP(VirtualFile file_)
|
NSP::NSP(VirtualFile file_)
|
||||||
: file(std::move(file_)),
|
: file(std::move(file_)), status{Loader::ResultStatus::Success},
|
||||||
pfs(std::make_shared<PartitionFilesystem>(file)), status{Loader::ResultStatus::Success} {
|
pfs(std::make_shared<PartitionFilesystem>(file)) {
|
||||||
if (pfs->GetStatus() != Loader::ResultStatus::Success) {
|
if (pfs->GetStatus() != Loader::ResultStatus::Success) {
|
||||||
status = pfs->GetStatus();
|
status = pfs->GetStatus();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue