std::chrono::duration is not initialized to 0 units of time
This commit is contained in:
parent
2e379cbf2a
commit
5bad02ccae
@ -224,7 +224,7 @@ namespace ix
|
|||||||
using millis = std::chrono::duration<double, std::milli>;
|
using millis = std::chrono::duration<double, std::milli>;
|
||||||
|
|
||||||
uint32_t retries = 0;
|
uint32_t retries = 0;
|
||||||
millis duration;
|
millis duration(0);
|
||||||
|
|
||||||
// Try to connect perpertually
|
// Try to connect perpertually
|
||||||
while (true)
|
while (true)
|
||||||
|
Loading…
Reference in New Issue
Block a user