Templetize score_xxx() functions

So to be style-wise aligned with the corresponding
generate() functions.

No functional change.
This commit is contained in:
Marco Costalba
2013-02-03 09:52:39 +01:00
parent 1c4e6d7ea2
commit 08d615cc95
2 changed files with 23 additions and 27 deletions

View File

@@ -23,6 +23,7 @@
#include <algorithm> // For std::max
#include <cstring> // For memset
#include "movegen.h"
#include "position.h"
#include "search.h"
#include "types.h"
@@ -79,9 +80,7 @@ public:
template<bool SpNode> Move next_move();
private:
void score_captures();
void score_noncaptures();
void score_evasions();
template<GenType> void score();
void generate_next();
const Position& pos;