summaryrefslogtreecommitdiff
path: root/src/common/ring_buffer.h
diff options
context:
space:
mode:
authorGravatar Morph2023-06-24 20:31:20 -0400
committerGravatar Morph2023-06-30 13:33:14 -0400
commitfbd85417ffdfe23dd4b4d3d13518244bd00be361 (patch)
tree6c2fd6f04f9dbe77c852181f688f0e33f0b811b2 /src/common/ring_buffer.h
parentscratch_buffer: Add member types to ScratchBuffer (diff)
downloadyuzu-fbd85417ffdfe23dd4b4d3d13518244bd00be361.tar.gz
yuzu-fbd85417ffdfe23dd4b4d3d13518244bd00be361.tar.xz
yuzu-fbd85417ffdfe23dd4b4d3d13518244bd00be361.zip
ring_buffer: Fix const usage on std::span
Diffstat (limited to '')
-rw-r--r--src/common/ring_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/ring_buffer.h b/src/common/ring_buffer.h
index 416680d44..5c961b202 100644
--- a/src/common/ring_buffer.h
+++ b/src/common/ring_buffer.h
@@ -54,7 +54,7 @@ public:
54 return push_count; 54 return push_count;
55 } 55 }
56 56
57 std::size_t Push(const std::span<T> input) { 57 std::size_t Push(std::span<const T> input) {
58 return Push(input.data(), input.size()); 58 return Push(input.data(), input.size());
59 } 59 }
60 60