std::chrono::duration is not initialized to 0 units of time

This commit is contained in:
Benjamin Sergeant 2019-05-26 14:15:51 -07:00
parent 13c87e38ed
commit 879a4b38aa

View File

@ -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)