output/Timer: use std::chrono
This commit is contained in:
@@ -361,7 +361,7 @@ HttpdOutput::Delay() const
|
||||
}
|
||||
|
||||
return timer->IsStarted()
|
||||
? std::chrono::milliseconds(timer->GetDelay())
|
||||
? timer->GetDelay()
|
||||
: std::chrono::steady_clock::duration::zero();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user