diff --git a/modules/ecs/public/sparse_set.hpp b/modules/ecs/public/sparse_set.hpp index 429e6d9..6ac4cb0 100644 --- a/modules/ecs/public/sparse_set.hpp +++ b/modules/ecs/public/sparse_set.hpp @@ -68,6 +68,10 @@ public: return m_dense.emplace_back(identifier, std::move(value)); } + /** @warn invalidates begin/end iterators + * + * @todo(Light): make it not invalidate the iterators >:c + */ void remove(Identifier_T identifier) override { auto &idx = m_sparse[identifier];