Switch to manual memory management in legal().master/manual
authorYann Dirson <ydirson@altern.org>
Sun, 20 Apr 2008 19:52:42 +0000 (21:52 +0200)
committerYann Dirson <ydirson@altern.org>
Sun, 20 Apr 2008 19:52:42 +0000 (21:52 +0200)
commite953b4c9ca8bd875a2a675e7794fe0e7cf29526c
tree5e2897641a244efda857c9a2bd0e24b05765d564
parent5560c7b2d9e376995a88cba30706a319f40438c4
Switch to manual memory management in legal().

The auto_ptr-based version was not working as expected, and manual
management is quite easy to do in this case.
src/variants/chess/validator.cpp
src/variants/shogi/validator.cpp