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/eth.hpp b/eth.hpp
index 0fe8d4e..67ed7b9 100644
--- a/eth.hpp
+++ b/eth.hpp
@@ -19,7 +19,7 @@
#include <ipmid/api.h>
#include <ipmid/api-types.hpp>
-#include <vector>
+#include <span>
namespace google
{
@@ -39,7 +39,7 @@
// Handle the eth query command.
// Sys can query the ifName and IPMI channel of the BMC's NCSI ethernet
// device.
-Resp getEthDevice(const std::vector<std::uint8_t>& data,
+Resp getEthDevice(std::span<const uint8_t> data,
const HandlerInterface* handler);
} // namespace ipmi