summaryrefslogtreecommitdiff
path: root/redfish-core
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2021-12-04 15:06:56 +0300
committerPatrick Williams <patrick@stwcx.xyz>2021-12-08 06:11:31 +0300
commit1e270c5f5436a856ed2d43fde2288b87aed23998 (patch)
treeb650cb1c1cefeddf4dfaac53517aa8d5c2526a34 /redfish-core
parent116c184bd30d0d8e0227dac946fa4ea00e2035bf (diff)
downloadbmcweb-1e270c5f5436a856ed2d43fde2288b87aed23998.tar.xz
span: clean up stray boost headers.
We recently switched from boost::beast::span to std::span, but a few header tweaks were not complete and we were still including beast::span. Remove the header file and add a '#include <span>' for one header which uses span but was missing. Tested: Compiles and unit tests pass. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I675c55df1abf78dfa244fced3d50679ffe1b6d91
Diffstat (limited to 'redfish-core')
-rw-r--r--redfish-core/lib/event_service.hpp2
-rw-r--r--redfish-core/lib/log_services.hpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/redfish-core/lib/event_service.hpp b/redfish-core/lib/event_service.hpp
index da9a165953..8c748f9206 100644
--- a/redfish-core/lib/event_service.hpp
+++ b/redfish-core/lib/event_service.hpp
@@ -20,6 +20,8 @@
#include <boost/beast/http/fields.hpp>
#include <registries/privilege_registry.hpp>
+#include <span>
+
namespace redfish
{
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp
index cdd746f4d9..fb515fe98c 100644
--- a/redfish-core/lib/log_services.hpp
+++ b/redfish-core/lib/log_services.hpp
@@ -29,7 +29,6 @@
#include <app.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <boost/algorithm/string/split.hpp>
-#include <boost/beast/core/span.hpp>
#include <boost/beast/http.hpp>
#include <boost/container/flat_map.hpp>
#include <boost/system/linux_error.hpp>