diff options
author | Jonathan "Geenz" Goodman <geenz@lindenlab.com> | 2025-04-17 20:09:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-17 20:09:55 -0400 |
commit | c0ecfce26d77420f0a26bfb93a82eb9b61513677 (patch) | |
tree | 01df292c42d63509b527be7698606e6502ed9a2b /indra/llui/lllayoutstack.cpp | |
parent | 37bbc6faa10fd8abf7c0274dfa3e69ff9062baa2 (diff) | |
parent | 9c3ce3dec7ad01620213079204d0a43d193bbfb9 (diff) |
Merge pull request #3933 from Ansariel/develop-llui-improvements
Clean up LLUI and fix/add suggestions from VS
Diffstat (limited to 'indra/llui/lllayoutstack.cpp')
-rw-r--r-- | indra/llui/lllayoutstack.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/lllayoutstack.cpp b/indra/llui/lllayoutstack.cpp index 1c59938f90..fe0591ce4b 100644 --- a/indra/llui/lllayoutstack.cpp +++ b/indra/llui/lllayoutstack.cpp @@ -36,8 +36,8 @@ #include "lliconctrl.h" #include "boost/foreach.hpp" -static const F32 MIN_FRACTIONAL_SIZE = 0.00001f; -static const F32 MAX_FRACTIONAL_SIZE = 1.f; +static constexpr F32 MIN_FRACTIONAL_SIZE = 0.00001f; +static constexpr F32 MAX_FRACTIONAL_SIZE = 1.f; static LLDefaultChildRegistry::Register<LLLayoutStack> register_layout_stack("layout_stack"); static LLLayoutStack::LayoutStackRegistry::Register<LLLayoutPanel> register_layout_panel("layout_panel"); |