diff options
| author | 2018-09-06 14:00:09 -0400 | |
|---|---|---|
| committer | 2018-09-06 14:00:11 -0400 | |
| commit | 54724fe9182d6a66556b7861ddfe8ee94088d86a (patch) | |
| tree | f095214040cfb0b3fe4c31e6f4b7da3a2ffabb92 | |
| parent | file_sys/nca_patch: Remove unnecessary includes (diff) | |
| download | yuzu-54724fe9182d6a66556b7861ddfe8ee94088d86a.tar.gz yuzu-54724fe9182d6a66556b7861ddfe8ee94088d86a.tar.xz yuzu-54724fe9182d6a66556b7861ddfe8ee94088d86a.zip | |
file_sys/nca_patch: Amend constructor initializer list order
Orders the elements in the initializer list in the order they're
specified in the class. This prevents compiler warnings about
initialization order.
| -rw-r--r-- | src/core/file_sys/nca_patch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/nca_patch.cpp b/src/core/file_sys/nca_patch.cpp index 4836706bb..6fc5bd7d8 100644 --- a/src/core/file_sys/nca_patch.cpp +++ b/src/core/file_sys/nca_patch.cpp | |||
| @@ -17,9 +17,9 @@ BKTR::BKTR(VirtualFile base_romfs_, VirtualFile bktr_romfs_, RelocationBlock rel | |||
| 17 | std::vector<SubsectionBucket> subsection_buckets_, bool is_encrypted_, | 17 | std::vector<SubsectionBucket> subsection_buckets_, bool is_encrypted_, |
| 18 | Core::Crypto::Key128 key_, u64 base_offset_, u64 ivfc_offset_, | 18 | Core::Crypto::Key128 key_, u64 base_offset_, u64 ivfc_offset_, |
| 19 | std::array<u8, 8> section_ctr_) | 19 | std::array<u8, 8> section_ctr_) |
| 20 | : base_romfs(std::move(base_romfs_)), bktr_romfs(std::move(bktr_romfs_)), | 20 | : relocation(relocation_), relocation_buckets(std::move(relocation_buckets_)), |
| 21 | relocation(relocation_), relocation_buckets(std::move(relocation_buckets_)), | ||
| 22 | subsection(subsection_), subsection_buckets(std::move(subsection_buckets_)), | 21 | subsection(subsection_), subsection_buckets(std::move(subsection_buckets_)), |
| 22 | base_romfs(std::move(base_romfs_)), bktr_romfs(std::move(bktr_romfs_)), | ||
| 23 | encrypted(is_encrypted_), key(key_), base_offset(base_offset_), ivfc_offset(ivfc_offset_), | 23 | encrypted(is_encrypted_), key(key_), base_offset(base_offset_), ivfc_offset(ivfc_offset_), |
| 24 | section_ctr(section_ctr_) { | 24 | section_ctr(section_ctr_) { |
| 25 | for (size_t i = 0; i < relocation.number_buckets - 1; ++i) { | 25 | for (size_t i = 0; i < relocation.number_buckets - 1; ++i) { |