kgorking / ecs

A header-only/importable c++20 implementation of an entity-component-system (ecs), with focus on a simple interface and speed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

process_remove_components should not fail on duplicate entities

kgorking opened this issue · comments

Replace contract with std::unique

Nope, it absolutely should. It is most likely an error if a component has tried to be removed more than once in a cycle.