Skip to content

Commit 71fdf9f

Browse files
authored
initialize _gzip_conversion in constructor
1 parent 083a888 commit 71fdf9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Websocket_Client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99
template <typename T>
1010
WebsocketClient<T>::WebsocketClient(T* exchange_client, const std::string host, const unsigned int port)
11-
: _host{ host }, _port{ std::to_string(port) }, _reconnect_on_error{ 0 }, exchange_client { exchange_client }, _max_reconnect_count{ 20 }
11+
: _host{ host }, _port{ std::to_string(port) }, _reconnect_on_error{ 0 }, exchange_client { exchange_client }, _max_reconnect_count{ 20 }, _gzip_conversion { 0 }
1212
{}
1313

1414
/**

0 commit comments

Comments
 (0)