snapshot: dense_map::contains is a thing fortunately

This commit is contained in:
Michele Caini
2023-06-06 10:14:33 +02:00
parent 3f1277f7bd
commit 49534eec0d

View File

@@ -585,7 +585,7 @@ public:
* @return True if `entity` is managed by the loader, false otherwise.
*/
[[nodiscard]] bool contains(entity_type entt) const noexcept {
return (remloc.find(entt) != remloc.cend());
return remloc.contains(entt);
}
/**