diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-15 09:30:23 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-04-15 09:30:23 +0200 |
| commit | ad1e483787cbc3aeb62c9afb9e31520df5a4b559 (patch) | |
| tree | 89ef2ed15791bfd227ac3c97f6669fd4c6cbf801 /cpp/nissy.h | |
| parent | 6b3f40ac441fede250b9c381952fafd8aac28bd5 (diff) | |
| download | nissy-core-ad1e483787cbc3aeb62c9afb9e31520df5a4b559.tar.gz nissy-core-ad1e483787cbc3aeb62c9afb9e31520df5a4b559.zip | |
Simplified count_moves() in cpp api
Diffstat (limited to '')
| -rw-r--r-- | cpp/nissy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/nissy.h b/cpp/nissy.h index 448704e..1981f1c 100644 --- a/cpp/nissy.h +++ b/cpp/nissy.h | |||
| @@ -99,7 +99,7 @@ namespace nissy { | |||
| 99 | solver(const std::string& name); | 99 | solver(const std::string& name); |
| 100 | }; | 100 | }; |
| 101 | 101 | ||
| 102 | std::variant<unsigned, error> count_moves(const std::string&); | 102 | error count_moves(const std::string&); |
| 103 | void set_logger(const std::function<void(const char*)>&); | 103 | void set_logger(const std::function<void(const char*)>&); |
| 104 | } | 104 | } |
| 105 | 105 | ||
