diff --git a/src/entt/meta/meta.hpp b/src/entt/meta/meta.hpp index 7d0459b55..48b678b8a 100644 --- a/src/entt/meta/meta.hpp +++ b/src/entt/meta/meta.hpp @@ -1652,7 +1652,7 @@ public: } private: - const meta_ctx *ctx{&locator::value_or()}; + const meta_ctx *ctx{}; vtable_type *vtable{}; any handle{}; }; @@ -1724,7 +1724,7 @@ public: } private: - const meta_ctx *ctx{&locator::value_or()}; + const meta_ctx *ctx{}; vtable_type *vtable{}; any handle{}; };