From fbd85417ffdfe23dd4b4d3d13518244bd00be361 Mon Sep 17 00:00:00 2001 From: Morph <39850852+Morph1984@users.noreply.github.com> Date: Sat, 24 Jun 2023 20:31:20 -0400 Subject: [PATCH] ring_buffer: Fix const usage on std::span --- src/common/ring_buffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 input) { + std::size_t Push(std::span input) { return Push(input.data(), input.size()); }