From 8b9876853971003af21b2d12bccad83a94d83631 Mon Sep 17 00:00:00 2001 From: light7734 Date: Sun, 21 Sep 2025 09:48:40 +0330 Subject: [PATCH] docs(ecs): add some docs --- modules/ecs/public/sparse_set.hpp | 4 ++++ 1 file changed, 4 insertions(+) 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];