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

Fix use of delete operators #145

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

matttyson
Copy link

Use array delete when deleting arrays

Use array delete when deleting arrays
@matttyson
Copy link
Author

I noticed this when my projects static cpp analyzer flagged the usage of mismatch new/delete operators.

https://learn.microsoft.com/en-us/cpp/cpp/delete-operator-cpp?view=msvc-170#using-delete

@mischnic
Copy link
Member

Almost all tests are failing, but it's probably on master as well and unrelated to this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants