diff --git a/src/entt/locator/locator.hpp b/src/entt/locator/locator.hpp index 49071b3ed..e33377ab7 100644 --- a/src/entt/locator/locator.hpp +++ b/src/entt/locator/locator.hpp @@ -126,6 +126,7 @@ public: } private: + // std::shared_ptr because of its type erased allocator which is useful here inline static std::shared_ptr service{}; };