From de8dbd53d02c5390d6b9ada990b76cf1d9b22926 Mon Sep 17 00:00:00 2001 From: Sander Mertens Date: Tue, 17 Dec 2024 10:47:24 -0800 Subject: [PATCH] Fix PairIsTag typo in component traits manual --- docs/ComponentTraits.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ComponentTraits.md b/docs/ComponentTraits.md index dbbdce04ba..c0c7ca06f6 100644 --- a/docs/ComponentTraits.md +++ b/docs/ComponentTraits.md @@ -838,7 +838,7 @@ const Position *p = ecs_get_pair_second(world, e, Serializable, Position); ```cpp // Ensure that Serializable never contains data ecs.component() - .add(); + .add(flecs::PairIsTag); auto e = ecs.entity() .set({10, 20})