Improve previous patch
authorMarco Costalba <mcostalba@gmail.com>
Sat, 12 May 2012 08:21:52 +0000 (09:21 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 12 May 2012 08:21:52 +0000 (09:21 +0100)
commitecb84464f927f9a0a96b8a6f95943786df2107b1
treed2d9c1210a7f6716e140cefaf7f4f8976620e426
parent1b2af05ea69abffff432f7f20685e144bd24055e
Improve previous patch

Only in case of promotion we care about an upper case
promotion piece char, so std::transform() is overkill
for the task.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/misc.h
src/move.cpp