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

Fixed delete operator in shared_ptr for C array #142

Closed

Conversation

FranciscoMoya
Copy link
Contributor

Standard shared_ptr call delete by default. If shared pointer is a C array, then delete[] should be called instead.

@Lzw655
Copy link
Collaborator

Lzw655 commented Dec 23, 2024

Hi @FranciscoMoya, thank you for fixing this issue! I picked your commit in the #143 and it will be merged soon.

@Lzw655 Lzw655 closed this in 30029bb Dec 23, 2024
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.

2 participants