Finish converting GSL to absl::Span
One less dependency.
Change-Id: Iaac25a3c1312a21a8a2b77b8cfee2463bdb51196
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/y2019/jevois/cobs.h b/y2019/jevois/cobs.h
index b8a6e4b..979cc15 100644
--- a/y2019/jevois/cobs.h
+++ b/y2019/jevois/cobs.h
@@ -36,7 +36,7 @@
// output buffer is exhausted and return the result.
template <size_t max_decoded_size>
absl::Span<char> CobsDecode(absl::Span<const char> input,
- std::array<char, max_decoded_size> *output_buffer);
+ std::array<char, max_decoded_size> *output_buffer);
// Manages scanning a stream of bytes for 0s and exposing the resulting buffers.
//
@@ -134,7 +134,7 @@
template <size_t max_decoded_size>
absl::Span<char> CobsDecode(absl::Span<const char> input,
- std::array<char, max_decoded_size> *output_buffer) {
+ std::array<char, max_decoded_size> *output_buffer) {
static_assert(max_decoded_size > 0, "Empty buffers not supported");
if (static_cast<size_t>(input.size()) >
CobsMaxEncodedSize(max_decoded_size)) {