From af195f91c2bedcfaa8fbd98e927c118a2f96ad4a Mon Sep 17 00:00:00 2001 From: Sean Kim Date: Fri, 31 May 2024 02:08:00 +0200 Subject: [PATCH] Cleanup: Remove accidentially added constexpr qualifier It doesn't hurt, but it doesn't really provide any benefit either to how we use the value in the code at the moment, so I view it as kind of misleading, since all the calls here are done at runtime. Pull Request: https://projects.blender.org/blender/blender/pulls/122419 --- source/blender/editors/sculpt_paint/paint_hide.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/sculpt_paint/paint_hide.cc b/source/blender/editors/sculpt_paint/paint_hide.cc index 7192a883486..be2b2c507b6 100644 --- a/source/blender/editors/sculpt_paint/paint_hide.cc +++ b/source/blender/editors/sculpt_paint/paint_hide.cc @@ -192,7 +192,7 @@ enum class VisAction { Show = 1, }; -constexpr static bool action_to_hide(const VisAction action) +static bool action_to_hide(const VisAction action) { return action == VisAction::Hide; }