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