diff options
author | Erik Kundiman <erik@megapahit.org> | 2025-05-29 11:54:56 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-05-29 11:54:56 +0800 |
commit | 11d75418fce8372e9976b069070d9d0506766d0d (patch) | |
tree | d0fc6b405dbcffefcd85f3ba52a8248c0128acde /indra/llui/lllayoutstack.cpp | |
parent | b6c3d47c007c59cbd3c9913a0b99f9d42bdb8d75 (diff) | |
parent | 0421e7b846b03d316740d759348c3aaa723d0b14 (diff) |
Merge branch '2025.04'
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"); |