Move game_phase() to material.cpp

For some reason, although game phase is used
only in material, it is computed in Position.

Move computation to material, where it belongs,
and remove the useless call chain.

No functional change.
This commit is contained in:
Marco Costalba
2017-07-09 11:45:31 +02:00
parent d31f068312
commit e551afbab7
3 changed files with 9 additions and 20 deletions

View File

@@ -146,7 +146,6 @@ public:
// Other properties of the position
Color side_to_move() const;
Phase game_phase() const;
int game_ply() const;
bool is_chess960() const;
Thread* this_thread() const;