update ASIO interfaces
This commit does 2 things.
1. Upgrades and prepares bmcweb for boost 1.70.
2. Allows us to compile with BOOST_AIO_NO_DEPRECATED
Tested: Compiled against 1.69 and 1.70. All changes should be no-op.
Change-Id: I557ecd840fe2b88c0fa01978a1b666b40ccccca4
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
diff --git a/redfish-core/lib/sensors.hpp b/redfish-core/lib/sensors.hpp
index bbed047..d3c858f 100644
--- a/redfish-core/lib/sensors.hpp
+++ b/redfish-core/lib/sensors.hpp
@@ -588,8 +588,15 @@
{
return; // don't have to have this interface
}
- for (const auto& [path, objDict] : resp)
+ for (const std::pair<std::string,
+ std::vector<std::pair<
+ std::string, std::vector<std::string>>>>&
+ pathPair : resp)
{
+ const std::string& path = pathPair.first;
+ const std::vector<
+ std::pair<std::string, std::vector<std::string>>>& objDict =
+ pathPair.second;
if (objDict.empty())
{
continue; // this should be impossible