Antares_Simulator
Antares_Simulator copied to clipboard
Remove manual dynamic allocations
Dynamic allocations are considered vulnerabilities in our internal SonarCloud quality profile.
- 230 matches on
= new
- 166 matches on
delete[]
- 152 matches on
delete
(a few false positives) - 2 matches on
malloc
andfree
Some have already been replaced by std::vector
. Other options include std::shared_ptr
or std::unique_ptr
.