]> git.seodisparate.com - EntityComponentMetaSystem/commit
Fix cleanup function's return value
authorStephen Seo <seo.disparate@gmail.com>
Tue, 31 Oct 2017 04:25:27 +0000 (13:25 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Tue, 31 Oct 2017 04:25:27 +0000 (13:25 +0900)
commit1d2fbf7b528314784d21b2ebab68a319b1f0c74e
tree2cdfe7254ef31cd224fd6e854a5496c3c1125548
parent2523831097b11e2345312966963a4679b5b5e464
Fix cleanup function's return value

Unordered map does not preserve order in which items were inserted.
This is a problem because an entity id relocated to a previously deleted
one could be read as deleted when iterating through the unordered map.
Thus, it has been replaced with a queue.
src/EC/Manager.hpp
src/test/ECTest.cpp