Skip to content

Commit ad47437

Browse files
Follow up; const -> constexpr
1 parent 1e299cc commit ad47437

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

indra/newview/lloutfitslist.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,8 +1169,8 @@ void LLOutfitListBase::onIdleRefreshList()
11691169
// <FS:PP> Scale MAX_TIME with FPS to avoid overloading the viewer with function calls at low frame rates
11701170
// const F64 MAX_TIME = 0.05f;
11711171
F64 MAX_TIME = 0.05f;
1172-
const F64 min_time = 0.001f;
1173-
const F64 threshold_fps = 30.0;
1172+
constexpr F64 min_time = 0.001f;
1173+
constexpr F64 threshold_fps = 30.0;
11741174
const auto current_fps = LLTrace::get_frame_recording().getPeriodMedianPerSec(LLStatViewer::FPS, 1);
11751175
if (current_fps < threshold_fps)
11761176
{

0 commit comments

Comments
 (0)