3
0
Fork 0
forked from suyu/suyu

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:
Lioncash 2018-09-05 12:13:03 -04:00
parent c0b7ed8b58
commit 6bd6beee20

View file

@ -19,8 +19,8 @@
namespace FileSys {
NSP::NSP(VirtualFile file_)
: file(std::move(file_)),
pfs(std::make_shared<PartitionFilesystem>(file)), status{Loader::ResultStatus::Success} {
: file(std::move(file_)), status{Loader::ResultStatus::Success},
pfs(std::make_shared<PartitionFilesystem>(file)) {
if (pfs->GetStatus() != Loader::ResultStatus::Success) {
status = pfs->GetStatus();
return;