span: switch to std
Reduce the dependency on stdplus' version of span now that we are using
C++20 and use the one out of the STL instead.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I040ba1796d6f278353fbc990ea6b62314927951e
diff --git a/tools/pci.hpp b/tools/pci.hpp
index 33878c8..8f40910 100644
--- a/tools/pci.hpp
+++ b/tools/pci.hpp
@@ -22,7 +22,7 @@
#include <linux/pci_regs.h>
-#include <stdplus/types.hpp>
+#include <span>
// Some versions of the linux/pci_regs.h header don't define this
#ifndef PCI_STD_NUM_BARS
@@ -37,7 +37,7 @@
public:
virtual ~PciBridgeIntf() = default;
- virtual void write(const stdplus::span<const std::uint8_t> data) = 0;
+ virtual void write(const std::span<const std::uint8_t> data) = 0;
virtual void configure(const ipmi_flash::PciConfigResponse& config) = 0;
virtual std::size_t getDataLength() = 0;
@@ -48,7 +48,7 @@
public:
virtual ~PciAccessBridge();
- virtual void write(const stdplus::span<const std::uint8_t> data) override;
+ virtual void write(const std::span<const std::uint8_t> data) override;
virtual void configure(const ipmi_flash::PciConfigResponse&) override{};
std::size_t getDataLength() override