This commit is contained in:
Benjamin Sergeant
2019-06-09 10:22:27 -07:00
parent 23cf4bd59b
commit 2e5f24f1f8
9 changed files with 26 additions and 11 deletions

View File

@ -20,7 +20,7 @@ namespace
{
server.setOnConnectionCallback(
[&server](std::shared_ptr<ix::WebSocket> webSocket,
std::shared_ptr<ConnectionState> connectionState)
std::shared_ptr<ConnectionState> connectionState)
{
webSocket->setOnMessageCallback(
[connectionState, &server](ix::WebSocketMessageType messageType,