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

@@ -58,9 +58,10 @@ protected:
friend class LLUICtrlFactory;
public:
LLStatBar *addStat(const std::string& name, LLStat *statp,
LLStatBar *addStat(const std::string& name, LLStat *statp, const LLStatBar::Parameters& parameters,
const std::string& setting = std::string(), BOOL default_bar = FALSE, BOOL default_history = FALSE);
LLStatView *addStatView(LLStatView::Params& p);
protected:
typedef std::vector<LLStatBar *> sb_vector_t;
sb_vector_t mStatBars;