mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 19:29:09 +00:00
Use std::min and std::max
This commit is contained in:
@ -153,7 +153,7 @@ void TimeBasedAvgRing<T>::AddItem(T value, double time)
|
||||
}
|
||||
|
||||
// update the max avg
|
||||
fMaxAvg = hsMaximum( fMaxAvg, fAvg );
|
||||
fMaxAvg = std::max(fMaxAvg, fAvg);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user