diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2026-04-11 14:55:41 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-11 14:55:41 -0500 |
| commit | 33f62b0f9f36a3dfccc3ecfc13358899d0cc8036 (patch) | |
| tree | 270bf5e13f299486c05d1f681e96dc5b774cc1e7 /Source/Core/DiscIO/VolumeWad.cpp | |
| parent | 27e09633dee06f25d76b2e84048e80c57d6e6a87 (diff) | |
| parent | f6a67aa6e722350db3fc778e4f881cb60090faa1 (diff) | |
Merge pull request #14500 from Sintendo/span2
Replace `const std::vector&` arguments with `std::span`
Diffstat (limited to 'Source/Core/DiscIO/VolumeWad.cpp')
| -rw-r--r-- | Source/Core/DiscIO/VolumeWad.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/VolumeWad.cpp b/Source/Core/DiscIO/VolumeWad.cpp index 44e229e1ce..95c6a68dc6 100644 --- a/Source/Core/DiscIO/VolumeWad.cpp +++ b/Source/Core/DiscIO/VolumeWad.cpp @@ -7,6 +7,7 @@ #include <map> #include <memory> #include <optional> +#include <span> #include <string> #include <utility> #include <vector> @@ -149,7 +150,7 @@ std::vector<u64> VolumeWAD::GetContentOffsets() const } bool VolumeWAD::CheckContentIntegrity(const IOS::ES::Content& content, - const std::vector<u8>& encrypted_data, + std::span<const u8> encrypted_data, const IOS::ES::TicketReader& ticket) const { if (encrypted_data.size() != Common::AlignUp(content.size, 0x40)) |
