mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
Splits one line into two, for the benefit of step debugging.
This commit is contained in:
parent
a71c5946f0
commit
56448373ae
@ -60,7 +60,8 @@ template <class T, int multiplier = 1, int divider = 1, class LocalTimeScale = H
|
||||
if(!is_flushed_) {
|
||||
is_flushed_ = true;
|
||||
if constexpr (divider == 1) {
|
||||
object_.run_for(time_since_update_.template flush<TargetTimeScale>());
|
||||
const auto duration = time_since_update_.template flush<TargetTimeScale>();
|
||||
object_.run_for(duration);
|
||||
} else {
|
||||
const auto duration = time_since_update_.template divide<TargetTimeScale>(LocalTimeScale(divider));
|
||||
if(duration > TargetTimeScale(0))
|
||||
|
Loading…
x
Reference in New Issue
Block a user