summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/VectorN.h
diff options
context:
space:
mode:
authorLenny Maiorani <lenny@serenityos.org>2022-03-13 16:09:41 -0600
committerAndreas Kling <kling@serenityos.org>2022-03-18 19:58:57 +0100
commitf912a48315c425ff49fb9421f58ea5bb834a96d6 (patch)
tree3a07abae47052211701d97e0246d62f162adb295 /Userland/Libraries/LibGfx/VectorN.h
parent31515a9147459d29f871d8dedfdc9a4072a9900d (diff)
downloadserenity-f912a48315c425ff49fb9421f58ea5bb834a96d6.zip
Userland: Change static const variables to static constexpr
`static const` variables can be computed and initialized at run-time during initialization or the first time a function is called. Change them to `static constexpr` to ensure they are computed at compile-time. This allows some removal of `strlen` because the length of the `StringView` can be used which is pre-computed at compile-time.
Diffstat (limited to 'Userland/Libraries/LibGfx/VectorN.h')
0 files changed, 0 insertions, 0 deletions