Skip to content

Commit e6991a9

Browse files
authored
fix typo in cppcon_2025_slides.md
1 parent 7a26ed0 commit e6991a9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cppcon2025/cppcon_2025_slides.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ std::string to_json(Player& p) {
166166
```cpp
167167
object obj = val.get_object();
168168
p.username = obj["username"].get_string();
169-
p.level = obj["username"].get_int64();
169+
p.level = obj["level"].get_int64();
170170
p.health = obj["health"].get_double();
171171
array arr = obj["inventory"].get_array();
172172
for (auto item : arr) {
@@ -688,4 +688,4 @@ Daniel Lemire and Francisco Geiman Thiesen
688688
689689
GitHub: github.com/simdjson/simdjson
690690
691-
Thank you!
691+
Thank you!

0 commit comments

Comments
 (0)