Follow up; const -> constexpr

This commit is contained in:
PanteraPolnocy
2025-09-20 20:49:13 +02:00
parent 1e299cc480
commit ad47437067
+2 -2
View File
@@ -1169,8 +1169,8 @@ void LLOutfitListBase::onIdleRefreshList()
// <FS:PP> Scale MAX_TIME with FPS to avoid overloading the viewer with function calls at low frame rates
// const F64 MAX_TIME = 0.05f;
F64 MAX_TIME = 0.05f;
const F64 min_time = 0.001f;
const F64 threshold_fps = 30.0;
constexpr F64 min_time = 0.001f;
constexpr F64 threshold_fps = 30.0;
const auto current_fps = LLTrace::get_frame_recording().getPeriodMedianPerSec(LLStatViewer::FPS, 1);
if (current_fps < threshold_fps)
{