summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BoundingBox.cpp
diff options
context:
space:
mode:
authorLioncash <mai.iam2048@gmail.com>2023-12-09 14:54:17 -0500
committerLioncash <mai.iam2048@gmail.com>2023-12-09 16:33:21 -0500
commit5f6c76af51bd41508c38c153bd471f9a6e7ee663 (patch)
treed487647713077ccc8fe37ff76e93973c06b4d2dd /Source/Core/VideoCommon/BoundingBox.cpp
parentdd227fea5a9cd87db484126892499ff773677ae4 (diff)
VideoCommon: Use std::span for BoundingBox::Write()
Crosses off a lingering TODO. Also amends a few nearby cases where a u32 cast was being repromoted to size_t.
Diffstat (limited to 'Source/Core/VideoCommon/BoundingBox.cpp')
-rw-r--r--Source/Core/VideoCommon/BoundingBox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/BoundingBox.cpp b/Source/Core/VideoCommon/BoundingBox.cpp
index ffc85d824c..33174012d7 100644
--- a/Source/Core/VideoCommon/BoundingBox.cpp
+++ b/Source/Core/VideoCommon/BoundingBox.cpp
@@ -51,7 +51,7 @@ void BoundingBox::Flush()
for (u32 i = start; i < end; ++i)
m_dirty[i] = false;
- Write(start, std::vector<BBoxType>(m_values.begin() + start, m_values.begin() + end));
+ Write(start, std::span(m_values.begin() + start, m_values.begin() + end));
}
}