Unify pinned and discovery checks code
authorMarco Costalba <mcostalba@gmail.com>
Thu, 23 Oct 2008 19:43:48 +0000 (20:43 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Fri, 24 Oct 2008 19:10:04 +0000 (21:10 +0200)
commit1ac2f501452ebd9249437b338c98ec398776b71a
tree8e4d60a2ce2f9b66aa772847dc798ef3352471c4
parentaf59cb1d63234fe5c711f4a0dc28d56fe79d1274
Unify pinned and discovery checks code

Templates are our friends here. No functional change.

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