Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

ring_buffer: Fix const usage on std::span

Morphaccc43e31f5c
diff --git a/src/common/ring_buffer.h b/src/common/ring_buffer.h
index 416680d445..5c961b202f 100644
--- a/src/common/ring_buffer.h
+++ b/src/common/ring_buffer.h
@@ -54,7 +54,7 @@ public:
return push_count;
}
- std::size_t Push(const std::span<T> input) {
+ std::size_t Push(std::span<const T> input) {
return Push(input.data(), input.size());
}