Movepick: add and use find_best_index() helper
authorMarco Costalba <mcostalba@gmail.com>
Fri, 17 Oct 2008 06:25:39 +0000 (08:25 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 18 Oct 2008 19:35:33 +0000 (21:35 +0200)
commitcf8ee79b767771bfb9c0ad06de1362400ea0ee5d
treef5dfa4bcca1c1d1ae143cd25a44ecb390c319e0e
parent06d6468ce9f660d4e901096780b3282eb5652984
Movepick: add and use find_best_index() helper

This removes a bunch of redundant code.

No functional change.

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