summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/RiivolutionParser.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2026-04-11 14:55:41 -0500
committerGitHub <noreply@github.com>2026-04-11 14:55:41 -0500
commit33f62b0f9f36a3dfccc3ecfc13358899d0cc8036 (patch)
tree270bf5e13f299486c05d1f681e96dc5b774cc1e7 /Source/Core/DiscIO/RiivolutionParser.cpp
parent27e09633dee06f25d76b2e84048e80c57d6e6a87 (diff)
parentf6a67aa6e722350db3fc778e4f881cb60090faa1 (diff)
Merge pull request #14500 from Sintendo/span2
Replace `const std::vector&` arguments with `std::span`
Diffstat (limited to 'Source/Core/DiscIO/RiivolutionParser.cpp')
-rw-r--r--Source/Core/DiscIO/RiivolutionParser.cpp4
1 files changed, 2 insertions, 2 deletions
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<Disc> ParseString(std::string_view xml, std::string xml_path)
return disc;
}
-static bool CheckRegion(const std::vector<std::string>& xml_regions, std::string_view game_region)
+static bool CheckRegion(std::span<const std::string> 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)