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; }