Follow up; const -> constexpr

meow-7.2.2
PanteraPolnocy 2025-09-20 20:49:13 +02:00
parent 1e299cc480
commit ad47437067
1 changed files with 2 additions and 2 deletions

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)
{