Remove clamp macro

Doesn't really need to exist since  all it's doing is inlining std::clamp.
This commit is contained in:
sukibaby
2024-09-03 04:52:20 -07:00
committed by teejusb
parent 51dbbeac1c
commit 21088502b9
36 changed files with 61 additions and 64 deletions
+1 -1
View File
@@ -360,7 +360,7 @@ void TimingData::GetActualBPM( float &fMinBPMOut, float &fMaxBPMOut, float highe
for (unsigned i = 0; i < bpms.size(); i++)
{
const float fBPM = ToBPM(bpms[i])->GetBPM();
fMaxBPMOut = clamp(std::max( fBPM, fMaxBPMOut ), 0.0f, highest);
fMaxBPMOut = std::clamp(std::max( fBPM, fMaxBPMOut ), 0.0f, highest);
fMinBPMOut = std::min( fBPM, fMinBPMOut );
}
}