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:
parent
09b67c84b1
commit
e8a72d9c5d
|
@ -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_ = {};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue