mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Fix build failure on GCC
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
02882dfe81
commit
4d438fae9e
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ struct PieceLetters : std::map<char, Piece> {
|
|||
|
||||
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)
|
||||
if (it->second == p)
|
||||
return it->first;
|
||||
|
|
Loading…
Add table
Reference in a new issue