summaryrefslogtreecommitdiff
path: root/include/obmc_console.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/obmc_console.hpp')
-rw-r--r--include/obmc_console.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/obmc_console.hpp b/include/obmc_console.hpp
index 478649ac8d..dab9521481 100644
--- a/include/obmc_console.hpp
+++ b/include/obmc_console.hpp
@@ -119,8 +119,7 @@ inline void requestRoutes(App& app)
BMCWEB_ROUTE(app, "/console0")
.privileges({{"ConfigureComponents", "ConfigureManager"}})
.websocket()
- .onopen([](crow::websocket::Connection& conn,
- const std::shared_ptr<bmcweb::AsyncResp>&) {
+ .onopen([](crow::websocket::Connection& conn) {
BMCWEB_LOG_DEBUG << "Connection " << &conn << " opened";
sessions.insert(&conn);