diff options
| author | Adam <adammegarules1@gmail.com> | 2026-08-11 10:30:29 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-08-11 10:30:29 +0200 |
| commit | b806cc058bd001dbfbc28412d29eae7f4d8005df (patch) | |
| tree | e8c8db23a9cf4dc59c66944c7ea8312b020b271d /src/misc.cpp | |
| parent | 54b882a31b1b6fb6ca49fd3b6877bac29207ff52 (diff) | |
polishing
Diffstat (limited to 'src/misc.cpp')
| -rw-r--r-- | src/misc.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/misc.cpp b/src/misc.cpp index 6e87351..79cf74f 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -1,14 +1,9 @@ #include "misc.hpp" #include "moves.hpp" #include <cstdint> -#include <string> +#include <string_view> -std::string version = "1"; -std::string name = "Mono"; - -std::string engine_version() { return name + " " + version; }; - -std::string engine_info() { return engine_version() + "\n"; } +std::string_view engine_info() { return "Mono 1\n"; } uint64_t MoveGenTest(int depth, Game *g) { uint64_t num = 0; |
