more step toward wasm compilation, still not it

This commit is contained in:
arthur.jamet
2021-05-28 22:41:46 +02:00
parent f9e307e73b
commit 0ffb8b2a15
8 changed files with 29 additions and 30 deletions
+3 -3
View File
@@ -41,8 +41,8 @@ namespace WAL
{
// TODO use an hashmap to cache results.
const auto &dependency = system.getDependencies();
return std::ranges::all_of(dependency.begin(), dependency.end(), [&entity](const auto &dependency) {
return entity.hasComponent(dependency);
});
//return std::ranges::all_of(dependency.begin(), dependency.end(), [&entity](const auto &dependency) {
// return entity.hasComponent(dependency);
//});
}
} // namespace WAL