]> git.sesse.net Git - stockfish/commit
Modernize code base a little bit
authorStefano Di Martino <stefano.d@posteo.de>
Sat, 7 Jan 2023 00:08:30 +0000 (01:08 +0100)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Mon, 9 Jan 2023 19:25:13 +0000 (20:25 +0100)
commit5a88c5bb9b3e5ee431ac85abb8981b1571b68b2d
treeadd3d0fd86f68977b4e31a3f44cddd815082233d
parent31acd6bab70f4661316986c2c93163d39736fd61
Modernize code base a little bit

Removed sprintf() which generated a warning, because of security reasons.
Replace NULL with nullptr
Replace typedef with using
Do not inherit from std::vector. Use composition instead.
optimize mutex-unlocking

closes https://github.com/official-stockfish/Stockfish/pull/4327

No functional change
AUTHORS
src/material.h
src/misc.cpp
src/nnue/evaluate_nnue.cpp
src/thread.cpp
src/thread.h
src/thread_win32_osx.h