summaryrefslogtreecommitdiff
path: root/src/webserver_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/webserver_main.cpp')
-rw-r--r--src/webserver_main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webserver_main.cpp b/src/webserver_main.cpp
index b4d36efb4e..7c64f4c748 100644
--- a/src/webserver_main.cpp
+++ b/src/webserver_main.cpp
@@ -1,7 +1,7 @@
#include <crow/app.h>
#include <systemd/sd-daemon.h>
-#include <boost/asio/io_service.hpp>
+#include <boost/asio/io_context.hpp>
#include <dbus_monitor.hpp>
#include <dbus_singleton.hpp>
#include <image_upload.hpp>
@@ -57,7 +57,7 @@ int main(int argc, char** argv)
{
crow::logger::setLogLevel(crow::LogLevel::DEBUG);
- auto io = std::make_shared<boost::asio::io_service>();
+ auto io = std::make_shared<boost::asio::io_context>();
CrowApp app(io);
#ifdef BMCWEB_ENABLE_SSL