Clean up RootMove less operator
authormstembera <MissingEmail@email>
Mon, 16 Nov 2015 23:39:11 +0000 (15:39 -0800)
committerJoona Kiiski <joona@zoox.com>
Sat, 21 Nov 2015 07:30:07 +0000 (23:30 -0800)
commit79f393084af73655c869af126281bb2a7c2cc396
tree81de63823e9aaf0caba51402cacc3f8e447ea233
parent328098d027e7c35625acbb28e42732137c02d0c1
Clean up RootMove less operator

This is used by std::stable_sort() to sort moves from highest score to lowest score.

1) The comment is incorrect since highest to lowest means descending.
2) It's more natural to implement a less operator using another less operator rather than a greater operator.

No functional change.

Resolves #504
src/search.h