Finish converting GSL to absl::Span
One less dependency.
Change-Id: Iaac25a3c1312a21a8a2b77b8cfee2463bdb51196
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/motors/print/itm.h b/motors/print/itm.h
index 1ff0bd1..edcb798 100644
--- a/motors/print/itm.h
+++ b/motors/print/itm.h
@@ -1,6 +1,7 @@
#ifndef MOTORS_PRINT_ITM_
#define MOTORS_PRINT_ITM_
+#include "absl/types/span.h"
#include "motors/print/print.h"
namespace frc971 {
@@ -21,9 +22,9 @@
void Initialize() override {}
// This goes to stimulus port 0.
- int WriteStdout(gsl::span<const char> buffer) override;
+ int WriteStdout(absl::Span<const char> buffer) override;
// This goes to stimulus port 1.
- int WriteDebug(gsl::span<const char> buffer) override;
+ int WriteDebug(absl::Span<const char> buffer) override;
};
} // namespace motors