Magic::index()
authormstembera <MissingEmail@email>
Thu, 29 Jun 2017 00:11:17 +0000 (17:11 -0700)
committerJoona Kiiski <joona@zoox.com>
Thu, 29 Jun 2017 00:11:17 +0000 (17:11 -0700)
commit69eb391cd779223c331fb0de80392cbd323055a9
treecbbe475742a7c92706a1cf39fcd1cb17e7b1ea80
parent7e897a64f2b97c88503997c8e2acb11452bb780b
Magic::index()

Make magic_index() a member of Magic since it uses all it's members
and keep us from having to pass the function pointer around to
init_magics().

No functional change

Closes #1146
src/bitboard.cpp
src/bitboard.h