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 2e379cbf2a
commit 5bad02ccae

View File

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