mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-06 10:53:50 +08:00
Fix build failure on GCC
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
committed by
Marco Costalba
parent
02882dfe81
commit
4d438fae9e
@@ -60,7 +60,7 @@ struct PieceLetters : std::map<char, Piece> {
|
|||||||
|
|
||||||
char from_piece(Piece p) const {
|
char from_piece(Piece p) const {
|
||||||
|
|
||||||
map<char, Piece>::const_iterator it;
|
std::map<char, Piece>::const_iterator it;
|
||||||
for (it = begin(); it != end(); ++it)
|
for (it = begin(); it != end(); ++it)
|
||||||
if (it->second == p)
|
if (it->second == p)
|
||||||
return it->first;
|
return it->first;
|
||||||
|
|||||||
Reference in New Issue
Block a user