mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 06:17:49 +00:00
Removed a compile warning.
This commit is contained in:
@@ -158,13 +158,6 @@ extern void sleep(int ms);
|
|||||||
// Returns a string that represents the current time. (Used for log output when learning evaluation function)
|
// Returns a string that represents the current time. (Used for log output when learning evaluation function)
|
||||||
std::string now_string();
|
std::string now_string();
|
||||||
|
|
||||||
// wrapper for end processing on the way
|
|
||||||
static void my_exit()
|
|
||||||
{
|
|
||||||
sleep(3000); // It is bad to finish before the error message is output, so put wait.
|
|
||||||
exit(EXIT_FAILURE);
|
|
||||||
}
|
|
||||||
|
|
||||||
// When compiled with gcc/clang such as msys2, Windows Subsystem for Linux,
|
// When compiled with gcc/clang such as msys2, Windows Subsystem for Linux,
|
||||||
// In C++ std::ifstream, ::read() is a wrapper for that because it is not possible to read and write files larger than 2GB in one shot.
|
// In C++ std::ifstream, ::read() is a wrapper for that because it is not possible to read and write files larger than 2GB in one shot.
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user