]> git.sesse.net Git - stockfish/blobdiff - src/benchmark.h
Fix compilation after recent merge.
[stockfish] / src / benchmark.h
index 1763547c2d5aee6b772c56cf4bd7ed2d47e810d2..e6206d19349a42b28a7351f4a1ef3b034ed62d7c 100644 (file)
@@ -1,7 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2008 Tord Romstad (Glaurung author)
-  Copyright (C) 2008 Marco Costalba
+  Copyright (C) 2004-2023 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-
-#if !defined(BENCHMARK_H_INCLUDED)
+#ifndef BENCHMARK_H_INCLUDED
 #define BENCHMARK_H_INCLUDED
 
-////
-//// Includes
-////
-
+#include <iosfwd>
 #include <string>
+#include <vector>
+
+namespace Stockfish {
 
+class Position;
 
-////
-//// Prototypes
-////
+std::vector<std::string> setup_bench(const Position&, std::istream&);
 
-extern void benchmark(const std::string& commandLine);
+}  // namespace Stockfish
 
-#endif // !defined(BENCHMARK_H_INCLUDED)
+#endif  // #ifndef BENCHMARK_H_INCLUDED