google-ipmi-sys: Convert input to use std::span<const uint8_t>
Change-Id: I533de34c04e3d2577cb9076add441153b2994c30
Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/cable.hpp b/cable.hpp
index 79a4d2e..138ade0 100644
--- a/cable.hpp
+++ b/cable.hpp
@@ -19,7 +19,7 @@
#include <ipmid/api.h>
#include <ipmid/api-types.hpp>
-#include <vector>
+#include <span>
namespace google
{
@@ -34,8 +34,7 @@
//
// Handle the cablecheck. Sys must supply which ethernet device they're
// interested in.
-Resp cableCheck(const std::vector<std::uint8_t>& data,
- const HandlerInterface* handler);
+Resp cableCheck(std::span<const uint8_t> data, const HandlerInterface* handler);
} // namespace ipmi
} // namespace google