diff --git a/src/entt/entity/snapshot.hpp b/src/entt/entity/snapshot.hpp index 32ca2df2b..dc6c06cc8 100644 --- a/src/entt/entity/snapshot.hpp +++ b/src/entt/entity/snapshot.hpp @@ -207,7 +207,7 @@ class snapshot_loader { : reg{reg}, force{force} { - // restore a snapshot as a whole requires a clean registry + // to restore a snapshot as a whole requires a clean registry assert(!reg.capacity()); }