Const is good. Use it for viewer stats.

This commit is contained in:
Shyotl
2019-07-25 22:30:44 -05:00
parent ea2b1e179e
commit 6dc9210a7e
7 changed files with 764 additions and 581 deletions

View File

@@ -80,9 +80,10 @@ public:
private:
BOOL mUseFrameTimer;
const BOOL mUseFrameTimer;
const U32 mNumBins;
U32 mNumValues;
U32 mNumBins;
struct ValueEntry
{
@@ -101,7 +102,7 @@ private:
S32 mCurBin;
S32 mNextBin;
std::string mName;
const std::string mName;
static LLTimer sTimer;
static LLFrameTimer sFrameTimer;