فهرست منبع

doc: updated documentation for the entity module

Michele Caini 6 سال پیش
والد
کامیت
c4997c52e2
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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
 ```cpp
 using clone_fn_type = void(const entt::registry &, entt::registry &);
 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
 ```cpp
 using stamp_fn_type = void(const entt::registry &, const entt::entity, entt::registry &, const entt::entity);
 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;
 
 
 // ...
 // ...