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

improve: change "RaidEvent*" pointer to use std::shared_ptr #1420

Merged
merged 2 commits into from
Aug 20, 2023
Merged

Conversation

beats-dh
Copy link
Collaborator

@beats-dh beats-dh commented Aug 16, 2023

Introduced a significant refactoring of the code, replacing the use of 'RaidEvent*' raw pointers with std::shared_ptr. This modernization enhances memory management, making the code more robust and safe. By utilizing smart pointers, we ensure better control over the memory lifecycle and reduce the risk of memory leaks and undefined behaviour. This change aligns with modern C++ best practices and contributes to the overall quality and maintainability of the codebase.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@dudantas dudantas changed the title feat: move raw "Raids* - RaidEvent*" pointers to "std::shared_ptr<>" improve: change "RaidEvent*" pointer to use std::shared_ptr Aug 20, 2023
@dudantas dudantas merged commit 35b3fde into main Aug 20, 2023
@dudantas dudantas deleted the shared-6 branch August 20, 2023 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants