From f6a67aa6e722350db3fc778e4f881cb60090faa1 Mon Sep 17 00:00:00 2001 From: Sintendo <3380580+Sintendo@users.noreply.github.com> Date: Sun, 1 Feb 2026 09:20:46 +0100 Subject: Use more std::span arguments --- Source/Core/DiscIO/DiscUtils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/Core/DiscIO/DiscUtils.cpp') diff --git a/Source/Core/DiscIO/DiscUtils.cpp b/Source/Core/DiscIO/DiscUtils.cpp index a22b97a466..e068229e57 100644 --- a/Source/Core/DiscIO/DiscUtils.cpp +++ b/Source/Core/DiscIO/DiscUtils.cpp @@ -5,6 +5,7 @@ #include #include +#include #include #include @@ -155,7 +156,7 @@ static u64 GetBiggestReferencedOffset(const Volume& volume, const FileInfo& file } } -u64 GetBiggestReferencedOffset(const Volume& volume, const std::vector& partitions) +u64 GetBiggestReferencedOffset(const Volume& volume, std::span partitions) { const u64 disc_header_size = volume.GetVolumeType() == Platform::GameCubeDisc ? 0x460 : 0x50000; u64 biggest_offset = disc_header_size; -- cgit v1.2.3