소스 검색

[DOCS] removed excess "registry." in groups code sample (#181)

Erik Scholz 7 년 전
부모
커밋
9c55111e14
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/entity.md

+ 1 - 1
docs/entity.md

@@ -1040,7 +1040,7 @@ Or rely on the `each` member function to iterate entities and get all their
 components at once:
 
 ```cpp
-registry.registry.group<position>(entt::get<velocity>).each([](auto entity, auto &pos, auto &vel) {
+registry.group<position>(entt::get<velocity>).each([](auto entity, auto &pos, auto &vel) {
     // ...
 });
 ```