Jelajahi Sumber

doc: typo (close #898)

Michele Caini 4 tahun lalu
induk
melakukan
7a7fc20438
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      docs/md/entity.md

+ 2 - 2
docs/md/entity.md

@@ -921,13 +921,13 @@ lvalue is necessarily provided as an argument:
 
 
 ```cpp
 ```cpp
 time clock;
 time clock;
-registry.ctx().emplace<my_type &>(clock);
+registry.ctx().emplace<time &>(clock);
 ```
 ```
 
 
 Read-only aliased properties are created using const types instead:
 Read-only aliased properties are created using const types instead:
 
 
 ```cpp
 ```cpp
-registry.ctx().emplace<const my_type &>(clock);
+registry.ctx().emplace<const time &>(clock);
 ```
 ```
 
 
 From the point of view of the user, there are no differences between a variable
 From the point of view of the user, there are no differences between a variable