registry: cleanup

This commit is contained in:
Michele Caini
2021-05-14 15:12:20 +02:00
parent 6194e12616
commit 30827120f6
+1 -1
View File
@@ -486,7 +486,7 @@ public:
* @param entity A valid entity identifier.
*/
void destroy(const entity_type entity) {
destroy(entity, static_cast<typename traits_type::version_type>(version(entity) + 1u));
destroy(entity, version(entity) + 1u);
}
/**