From ad4743706751ba7375e4031db2c49b321c5921a9 Mon Sep 17 00:00:00 2001 From: PanteraPolnocy Date: Sat, 20 Sep 2025 20:49:13 +0200 Subject: [PATCH] Follow up; const -> constexpr --- indra/newview/lloutfitslist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/lloutfitslist.cpp b/indra/newview/lloutfitslist.cpp index e20202ee5d..f81bc78ed0 100644 --- a/indra/newview/lloutfitslist.cpp +++ b/indra/newview/lloutfitslist.cpp @@ -1169,8 +1169,8 @@ void LLOutfitListBase::onIdleRefreshList() // 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) {