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/RiivolutionParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/DiscIO/RiivolutionParser.cpp') diff --git a/Source/Core/DiscIO/RiivolutionParser.cpp b/Source/Core/DiscIO/RiivolutionParser.cpp index c76274927a..079b86e5cc 100644 --- a/Source/Core/DiscIO/RiivolutionParser.cpp +++ b/Source/Core/DiscIO/RiivolutionParser.cpp @@ -218,9 +218,9 @@ std::optional ParseString(std::string_view xml, std::string xml_path) return disc; } -static bool CheckRegion(const std::vector& xml_regions, std::string_view game_region) +static bool CheckRegion(std::span xml_regions, std::string_view game_region) { - if (xml_regions.begin() == xml_regions.end()) + if (xml_regions.empty()) return true; for (const auto& region : xml_regions) -- cgit v1.2.3