Skip to content

Commit

Permalink
Fix error in quickstart example
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderMertens committed May 12, 2023
1 parent f786277 commit 40051d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ A pair can be encoded in a single 64 bit identifier by using the `ecs_pair` macr
ecs_id_t id = ecs_pair(Likes, Bob);
```
```cpp
flecs::id id = world.pair(Likes, Bob);
flecs::id id = world.pair<Likes>(Bob);
```

The following examples show how to get back the elements from a pair:
Expand Down

0 comments on commit 40051d3

Please sign in to comment.