diff --git a/src/entt/meta/meta.hpp b/src/entt/meta/meta.hpp index 3d6b9a7f6..8994d4fa9 100644 --- a/src/entt/meta/meta.hpp +++ b/src/entt/meta/meta.hpp @@ -180,7 +180,7 @@ auto find_if(Op op, const meta_type_node *node) template -static bool compare(const void *lhs, const void *rhs) { +bool compare(const void *lhs, const void *rhs) { if constexpr(!std::is_function_v && is_equality_comparable_v) { return *static_cast(lhs) == *static_cast(rhs); } else {