doc: fix typo in Sorting section (#1080)

This commit is contained in:
LiterallyVoid
2023-10-18 01:32:24 -07:00
committed by GitHub
parent 2dc121e3df
commit 826eb7ed65

View File

@@ -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;
});
```