diff options
| author | Lioncash <mai.iam2048@gmail.com> | 2023-12-09 14:54:17 -0500 |
|---|---|---|
| committer | Lioncash <mai.iam2048@gmail.com> | 2023-12-09 16:33:21 -0500 |
| commit | 5f6c76af51bd41508c38c153bd471f9a6e7ee663 (patch) | |
| tree | d487647713077ccc8fe37ff76e93973c06b4d2dd /Source/Core/VideoBackends/Software/SWBoundingBox.cpp | |
| parent | dd227fea5a9cd87db484126892499ff773677ae4 (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/VideoBackends/Software/SWBoundingBox.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWBoundingBox.cpp | 2 |
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++) { |
