File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -59,12 +59,12 @@ class LLStatsAccumulator
59
59
60
60
inline F32 getSum () const
61
61
{
62
- return ( F32) mSum ;
62
+ return F32 ( mSum ) ;
63
63
}
64
64
65
65
inline F32 getSumOfSquares () const
66
66
{
67
- return ( F32) mSumOfSquares ;
67
+ return F32 ( mSumOfSquares ) ;
68
68
}
69
69
70
70
inline F32 getMean () const
@@ -113,7 +113,7 @@ class LLStatsAccumulator
113
113
inline LLSD asLLSD () const
114
114
{
115
115
LLSD data;
116
- data[" count" ] = ( S32) getCount ();
116
+ data[" count" ] = S32 ( getCount () );
117
117
data[" sum" ] = getSum ();
118
118
data[" sum_of_squares" ] = getSumOfSquares ();
119
119
data[" mean" ] = getMean ();
Original file line number Diff line number Diff line change @@ -277,11 +277,11 @@ void LLViewerStats::updateFrameStats(const F64Seconds time_diff)
277
277
278
278
if (gFocusMgr .getAppHasFocus ())
279
279
{
280
- mForegroundFrameStats .push (F32 (F64 ( time_diff) ));
280
+ mForegroundFrameStats .push (F32 (time_diff));
281
281
}
282
282
else
283
283
{
284
- mBackgroundFrameStats .push (F32 (F64 ( time_diff) ));
284
+ mBackgroundFrameStats .push (F32 (time_diff));
285
285
}
286
286
287
287
}
You can’t perform that action at this time.
0 commit comments