Skip to content

Commit

Permalink
chore: fix move.md example (#138)
Browse files Browse the repository at this point in the history
`Square::SQ_NN` is not a member, but `Square::underlying::SQ_NN` is
  • Loading branch information
STCollier authored Nov 14, 2024
1 parent d3b24da commit 7114fd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/move.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ before checking for captures.
Incase you want to manually create a move you can do it like so.

```cpp
Move m = Move::make<Move::NORMAL>(Square::SQ_E2, Square::SQ_E4);
Move m = Move::make<Move::NORMAL>(Square::underlying::SQ_E2, Square::underlying::SQ_E4);
```

## Other formats
Expand Down

0 comments on commit 7114fd5

Please sign in to comment.