diff options
author | Richard Linden <none@none> | 2013-08-26 10:51:08 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-08-26 10:51:08 -0700 |
commit | 662d6a17712fbba5cea0d9cf20f5a2f32e2dd537 (patch) | |
tree | 813e03b307d346210a58c4edcb3920b2dfddf855 /indra/llui | |
parent | cf014375b8b408d58bd35deb4e58e4369fb3bf62 (diff) |
added compile time warnings to use of deprecated llinfos, llwarns, etc.
Diffstat (limited to 'indra/llui')
-rwxr-xr-x | indra/llui/llstatbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llstatbar.cpp b/indra/llui/llstatbar.cpp index 3cd2e53001..725a835f7f 100755 --- a/indra/llui/llstatbar.cpp +++ b/indra/llui/llstatbar.cpp @@ -325,7 +325,7 @@ void LLStatBar::draw() { const LLTrace::TraceType<LLTrace::CountAccumulator>& count_stat = *mCountFloatp; - unit_label = mUnitLabel.empty() ? (std::string(count_stat.getUnitLabel()) + "/s") : mUnitLabel; + unit_label = std::string(count_stat.getUnitLabel()) + "/s"; current = last_frame_recording.getPerSec(count_stat); min = frame_recording.getPeriodMinPerSec(count_stat, num_frames); max = frame_recording.getPeriodMaxPerSec(count_stat, num_frames); |