Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize code base a little bit #4327

Closed
wants to merge 10 commits into from

Conversation

StefanoD
Copy link
Contributor

@StefanoD StefanoD commented Jan 7, 2023

  • 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.

src/thread.cpp Outdated Show resolved Hide resolved
AUTHORS Outdated Show resolved Hide resolved
src/nnue/evaluate_nnue.cpp Outdated Show resolved Hide resolved
@StefanoD StefanoD mentioned this pull request Jan 7, 2023
@vondele vondele added the to be merged Will be merged shortly label Jan 9, 2023
@vondele vondele closed this in 5a88c5b Jan 9, 2023
Joachim26 pushed a commit to Joachim26/StockfishNPS that referenced this pull request Jan 9, 2023
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 official-stockfish#4327

No functional change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to be merged Will be merged shortly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants