diff --git a/ixwebsocket/IXWebSocket.cpp b/ixwebsocket/IXWebSocket.cpp index 2ded8be3..65cd142f 100644 --- a/ixwebsocket/IXWebSocket.cpp +++ b/ixwebsocket/IXWebSocket.cpp @@ -224,7 +224,7 @@ namespace ix using millis = std::chrono::duration; uint32_t retries = 0; - millis duration; + millis duration(0); // Try to connect perpertually while (true)