]> git.sesse.net Git - stockfish/commitdiff
Use std::vector<Thread*> to store threads
authorMarco Costalba <mcostalba@gmail.com>
Sat, 24 Mar 2012 20:36:33 +0000 (21:36 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 25 Mar 2012 09:23:52 +0000 (10:23 +0100)
We store pointers instead of Thread objects because
Thread is not copy-constructible nor copy-assignable
and default ones are not suitable. So we cannot store
directly in a std::vector.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found