Ver código fonte

doc: updated documentation for the entity module

Michele Caini 6 anos atrás
pai
commit
c4997c52e2
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      docs/md/entity.md

+ 2 - 2
docs/md/entity.md

@@ -737,7 +737,7 @@ between type identifiers and opaque methods for cloning:
 
 ```cpp
 using clone_fn_type = void(const entt::registry &, entt::registry &);
-std::unordered_map<ENTT_ID_TYPE, clone_fn_type *> clone_functions;
+std::unordered_map<entt::id_type, clone_fn_type *> clone_functions;
 
 // ...
 
@@ -799,7 +799,7 @@ dedicate system:
 
 ```cpp
 using stamp_fn_type = void(const entt::registry &, const entt::entity, entt::registry &, const entt::entity);
-std::unordered_map<ENTT_ID_TYPE, stamp_fn_type *> stamp_functions;
+std::unordered_map<entt::id_type, stamp_fn_type *> stamp_functions;
 
 // ...