Fix build errors with GCC 14
Fix various build errors exposed after updating to GCC 14.
Change-Id: Iec680182785b32650741115ed7d758b2b6bf7d38
Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
diff --git a/src/storagecommands.cpp b/src/storagecommands.cpp
index a1a19f2..4034cff 100644
--- a/src/storagecommands.cpp
+++ b/src/storagecommands.cpp
@@ -360,9 +360,11 @@
});
// call once to populate
- boost::asio::spawn(*getIoContext(), [](boost::asio::yield_context yield) {
- replaceCacheFru(getSdBus(), yield);
- });
+ boost::asio::spawn(*getIoContext(),
+ [](boost::asio::yield_context yield) {
+ replaceCacheFru(getSdBus(), yield);
+ },
+ {});
}
/** @brief implements the read FRU data command