Browse Source

doc: fix typo in Sorting section (#1080)

LiterallyVoid 2 years ago
parent
commit
826eb7ed65
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/md/entity.md

+ 1 - 1
docs/md/entity.md

@@ -583,7 +583,7 @@ There are two functions that respond to slightly different needs:
 * Components are sorted either directly:
 
   ```cpp
-  registry.sort<renderable>([](const auto &lhs, const auto &rhs) {
+  registry.sort<renderable>([](const renderable &lhs, const renderable &rhs) {
       return lhs.z < rhs.z;
   });
   ```