Skip to content

Commit

Permalink
Don't initialise userData in WebsocketConnection constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Feb 25, 2019
1 parent c40a80a commit 2162a14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const ws_parser_callbacks_t WebsocketConnection::parserSettings PROGMEM = {.on_d
return -1; \
}

WebsocketConnection::WebsocketConnection(HttpConnection* connection, bool isClientConnection) : userData(this)
WebsocketConnection::WebsocketConnection(HttpConnection* connection, bool isClientConnection)
{
setConnection(connection, isClientConnection);

Expand Down

0 comments on commit 2162a14

Please sign in to comment.