Преглед изворни кода

doc: fix typo in Sorting section (#1080)

LiterallyVoid пре 2 година
родитељ
комит
826eb7ed65
1 измењених фајлова са 1 додато и 1 уклоњено
  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;
   });
   ```