diff options
| author | Tilka <tilkax@gmail.com> | 2023-12-12 20:47:08 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-12 20:47:08 +0000 |
| commit | 4d98c237c78593101c9642238348e709b59f208b (patch) | |
| tree | 883a64a021fe9cc9adb0faa4f222156b974b062f /Source/Core/VideoCommon/BoundingBox.cpp | |
| parent | 7588f5e2daf97b9b5b5787cb08fc0f31daac50a7 (diff) | |
| parent | 5f6c76af51bd41508c38c153bd471f9a6e7ee663 (diff) | |
Merge pull request #12371 from lioncash/span
VideoCommon: Use std::span for BoundingBox::Write()
Diffstat (limited to 'Source/Core/VideoCommon/BoundingBox.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/BoundingBox.cpp | 2 |
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)); } } |
