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
This commit is contained in:
parent
e48eacd672
commit
af195f91c2
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user