summaryrefslogtreecommitdiff
path: root/include/vm_websocket.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/vm_websocket.hpp')
-rw-r--r--include/vm_websocket.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/vm_websocket.hpp b/include/vm_websocket.hpp
index 34ef82ef99..08de90e0d9 100644
--- a/include/vm_websocket.hpp
+++ b/include/vm_websocket.hpp
@@ -160,8 +160,7 @@ inline void requestRoutes(App& app)
BMCWEB_ROUTE(app, "/vm/0/0")
.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";
if (session != nullptr)