diff options
author | comex <comexk@gmail.com> | 2023-07-01 15:01:11 -0700 |
---|---|---|
committer | comex <comexk@gmail.com> | 2023-07-01 15:01:11 -0700 |
commit | 98685d48e3cb9f25f6919f004ec62cadf33afad2 (patch) | |
tree | 9df2ce7f57370641589bfae7196c77b090bcbe0f /src/common/ring_buffer.h | |
parent | d885dd5b642807d0587acad43668cfccfdf06d1e (diff) | |
parent | 8857911216f16a098231c25e0d2992ab67e33f83 (diff) |
Merge remote-tracking branch 'origin/master' into ssl
Diffstat (limited to 'src/common/ring_buffer.h')
-rw-r--r-- | src/common/ring_buffer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/ring_buffer.h b/src/common/ring_buffer.h index 4c328ab44..416680d44 100644 --- a/src/common/ring_buffer.h +++ b/src/common/ring_buffer.h @@ -9,6 +9,7 @@ #include <cstddef> #include <cstring> #include <new> +#include <span> #include <type_traits> #include <vector> @@ -53,7 +54,7 @@ public: return push_count; } - std::size_t Push(const std::vector<T>& input) { + std::size_t Push(const std::span<T> input) { return Push(input.data(), input.size()); } |