1
0
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:
2014-07-22 21:12:09 -07:00
parent 4f5a941d41
commit e36220cca5
35 changed files with 101 additions and 108 deletions

View File

@ -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);
}