Default initialize sleep callback duration in tr_verify_worker (#6789)

std::chrono::duration is just a wrapper, underlying numerical value member will be default initialized to zero as expected.

See https://en.cppreference.com/w/cpp/chrono/duration

Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
This commit is contained in:
Dzmitry Neviadomski 2024-05-24 23:51:16 +03:00 committed by GitHub
parent 09b67c84b1
commit e8a72d9c5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -96,5 +96,5 @@ private:
std::atomic<bool> stop_current_ = false;
std::condition_variable stop_current_cv_;
std::chrono::milliseconds sleep_per_seconds_during_verify_;
std::chrono::milliseconds sleep_per_seconds_during_verify_ = {};
};