From 826eb7ed65123e99e6c099d3b424ef7d586e5f34 Mon Sep 17 00:00:00 2001 From: LiterallyVoid Date: Wed, 18 Oct 2023 01:32:24 -0700 Subject: [PATCH] doc: fix typo in Sorting section (#1080) --- docs/md/entity.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/md/entity.md b/docs/md/entity.md index a57c27430..862e77cc1 100644 --- a/docs/md/entity.md +++ b/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([](const auto &lhs, const auto &rhs) { + registry.sort([](const renderable &lhs, const renderable &rhs) { return lhs.z < rhs.z; }); ```