Michele Caini %!s(int64=7) %!d(string=hai) anos
pai
achega
1868df61ea
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/md/entity.md

+ 1 - 1
docs/md/entity.md

@@ -818,7 +818,7 @@ The following adds components `a_type` and `another_type` whenever `my_type` is
 assigned to an entity:
 
 ```cpp
-entt::connnect<a_type, another_type>(registry.on_construct<my_type>());
+entt::connect<a_type, another_type>(registry.on_construct<my_type>());
 ```
 
 A component is assigned to an entity and thus default initialized only in case