We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54be31a commit d558a4cCopy full SHA for d558a4c
src/Engine.cpp
@@ -99,7 +99,7 @@ void ashley::Engine::removeAllEntities() {
99
}
100
101
ashley::EntitySystem *ashley::Engine::addSystem(std::unique_ptr<EntitySystem> &&system) {
102
- const auto systemIndex = std::type_index(typeid(*system));
+ const auto systemIndex = std::type_index(typeid(typename std::unique_ptr<EntitySystem>::element_type));
103
104
auto it = systemsByClass.find(systemIndex);
105
0 commit comments