summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2023-06-24 20:31:20 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2023-06-30 13:33:14 -0400
commitfbd85417ffdfe23dd4b4d3d13518244bd00be361 (patch)
tree6c2fd6f04f9dbe77c852181f688f0e33f0b811b2
parentb8c906f9d1acbd59c264bd3ad335c6d75f92da5c (diff)
ring_buffer: Fix const usage on std::span
-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:
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());
}