diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-06-10 22:56:00 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-06-10 22:57:53 -0400 |
| commit | bfafb5f7d1af044b6764e8182c0c0b450ec4f6f8 (patch) | |
| tree | b2b7853e3698cef102a2337b29e65043d09befd9 /src/core/file_sys/card_image.cpp | |
| parent | 58c127c1d8e381dab726d47ddbd09ee83eb20137 (diff) | |
file_sys/card_image: Use std::array deduction guides
Same thing, less code.
Diffstat (limited to 'src/core/file_sys/card_image.cpp')
| -rw-r--r-- | src/core/file_sys/card_image.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/file_sys/card_image.cpp b/src/core/file_sys/card_image.cpp index 2c145bd09d..1fec9b0e99 100644 --- a/src/core/file_sys/card_image.cpp +++ b/src/core/file_sys/card_image.cpp @@ -18,7 +18,12 @@ namespace FileSys { -constexpr std::array<const char*, 0x4> partition_names = {"update", "normal", "secure", "logo"}; +constexpr std::array partition_names{ + "update", + "normal", + "secure", + "logo", +}; XCI::XCI(VirtualFile file_) : file(std::move(file_)), program_nca_status{Loader::ResultStatus::ErrorXCIMissingProgramNCA}, |
