summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWBoundingBox.cpp
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2023-12-12 20:47:08 +0000
committerGitHub <noreply@github.com>2023-12-12 20:47:08 +0000
commit4d98c237c78593101c9642238348e709b59f208b (patch)
tree883a64a021fe9cc9adb0faa4f222156b974b062f /Source/Core/VideoBackends/Software/SWBoundingBox.cpp
parent7588f5e2daf97b9b5b5787cb08fc0f31daac50a7 (diff)
parent5f6c76af51bd41508c38c153bd471f9a6e7ee663 (diff)
Merge pull request #12371 from lioncash/span
VideoCommon: Use std::span for BoundingBox::Write()
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWBoundingBox.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/SWBoundingBox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Software/SWBoundingBox.cpp b/Source/Core/VideoBackends/Software/SWBoundingBox.cpp
index 96d38517b8..b9b3d21ca8 100644
--- a/Source/Core/VideoBackends/Software/SWBoundingBox.cpp
+++ b/Source/Core/VideoBackends/Software/SWBoundingBox.cpp
@@ -55,7 +55,7 @@ std::vector<BBoxType> SWBoundingBox::Read(u32 index, u32 length)
return values;
}
-void SWBoundingBox::Write(u32 index, const std::vector<BBoxType>& values)
+void SWBoundingBox::Write(u32 index, std::span<const BBoxType> values)
{
for (size_t i = 0; i < values.size(); i++)
{