Browse Source

locator: just a comment for the future me

Michele Caini 3 years ago
parent
commit
f17a4e7f8e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/entt/locator/locator.hpp

+ 1 - 0
src/entt/locator/locator.hpp

@@ -126,6 +126,7 @@ public:
     }
     }
 
 
 private:
 private:
+    // std::shared_ptr because of its type erased allocator which is useful here
     inline static std::shared_ptr<Service> service{};
     inline static std::shared_ptr<Service> service{};
 };
 };