diff options
author | Ansariel Hiller <Ansariel@users.noreply.github.com> | 2024-10-02 22:51:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-02 23:51:10 +0300 |
commit | 4d92e15a79f697917c4a2ba67e03742d488e2a9d (patch) | |
tree | c3ba5662e3969d6af63e3bafe1fa28b6cb1a9a4f /indra/llui/llstatbar.h | |
parent | 13b91ad30633cb50275b1ca4a25522da23107e34 (diff) |
Clean up LLUI and fix/add suggestions from VS (#2746)
Diffstat (limited to 'indra/llui/llstatbar.h')
-rw-r--r-- | indra/llui/llstatbar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llstatbar.h b/indra/llui/llstatbar.h index c36a138566..bbbf0b3a19 100644 --- a/indra/llui/llstatbar.h +++ b/indra/llui/llstatbar.h @@ -67,7 +67,7 @@ public: void setStat(const std::string& stat_name); void setRange(F32 bar_min, F32 bar_max); - void getRange(F32& bar_min, F32& bar_max) { bar_min = mTargetMinBar; bar_max = mTargetMaxBar; } + void getRange(F32& bar_min, F32& bar_max) const { bar_min = mTargetMinBar; bar_max = mTargetMaxBar; } /*virtual*/ LLRect getRequiredRect(); // Return the height of this object, given the set options. |