]> git.sesse.net Git - stockfish/blobdiff - src/benchmark.h
Fix compilation after recent merge.
[stockfish] / src / benchmark.h
index ce77e3d95cf32c8c736bf0f4cf193ecdac0818c8..e6206d19349a42b28a7351f4a1ef3b034ed62d7c 100644 (file)
@@ -1,37 +1,34 @@
 /*
   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
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.
-  
+
   Stockfish is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
-  
+
   You should have received a copy of the GNU General Public License
   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