From: Marco Costalba Date: Fri, 5 Sep 2008 07:04:45 +0000 (+0200) Subject: RootMoveList sorting: be compatible with std::sort X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=731a9f3806fec9956fee6f73b25c504503edc4bf;hp=731a9f3806fec9956fee6f73b25c504503edc4bf RootMoveList sorting: be compatible with std::sort sort() and sort_multipv() are almost the same, so use only one implementation. Also introduce the natural RootMove::operator<() to compare the moves instead of compare_root_moves(), this will allow to use std::sort instead of our home grown bubble-sort. Signed-off-by: Marco Costalba ---