Skip to content

Commit

Permalink
Fix PairIsTag typo in component traits manual
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderMertens committed Dec 17, 2024
1 parent eddd13a commit de8dbd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ComponentTraits.md
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ const Position *p = ecs_get_pair_second(world, e, Serializable, Position);
```cpp
// Ensure that Serializable never contains data
ecs.component<Serializable>()
.add<flecs::PairIsTag>();
.add(flecs::PairIsTag);
auto e = ecs.entity()
.set<Position>({10, 20})
Expand Down

0 comments on commit de8dbd5

Please sign in to comment.