diff options
| author | Adam <adammegarules1@gmail.com> | 2026-08-18 11:26:44 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-08-18 11:26:44 +0200 |
| commit | 419f931a8001ca1c8c5960d68ae6bdef53c76f16 (patch) | |
| tree | b6162a5d4324fb4df8e831aff3a1a869d794daca /src/book.hpp | |
| parent | 8a3d56d5bb57b58fa60966edcec0b33d3c2d1041 (diff) | |
refactor(book): refactoring opening book code
Diffstat (limited to 'src/book.hpp')
| -rw-r--r-- | src/book.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/book.hpp b/src/book.hpp index 4382dc7..bc08782 100644 --- a/src/book.hpp +++ b/src/book.hpp @@ -1,7 +1,7 @@ #pragma once #include <cstdint> +#include <optional> #include <string> void InitBook(const std::string &path); -uint16_t ProbeBook(uint64_t key); -int GetBookDepth(); +std::optional<uint16_t> ProbeBook(uint64_t key);
\ No newline at end of file |
