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/cpld.hpp b/cpld.hpp
index 84db3ba..9f4d169 100644
--- a/cpld.hpp
+++ b/cpld.hpp
@@ -19,7 +19,7 @@
#include <ipmid/api.h>
#include <ipmid/api-types.hpp>
-#include <vector>
+#include <span>
namespace google
{
@@ -35,7 +35,7 @@
} __attribute__((packed));
// Given a cpld identifier, return a version if available.
-Resp cpldVersion(const std::vector<std::uint8_t>& data,
+Resp cpldVersion(std::span<const uint8_t> data,
const HandlerInterface* handler);
} // namespace ipmi