Open PeterN opened 2 weeks ago
Manual memory allocation and freeing when reading heightmap BMP files.
Replace raw pointers with std::vectors.
This avoids manual memory management and allows BmpData to clean up after itself.
Some things are not automated, and forgotten often. This list is a reminder for the reviewers.
Motivation / Problem
Manual memory allocation and freeing when reading heightmap BMP files.
Description
Replace raw pointers with std::vectors.
This avoids manual memory management and allows BmpData to clean up after itself.
Limitations
Checklist for review
Some things are not automated, and forgotten often. This list is a reminder for the reviewers.