mirror of
https://github.com/transmission/transmission
synced 2024-12-21 23:32:35 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue