Switch to using std::vector rather than directly managed memory

This commit is contained in:
2022-04-22 14:21:45 -05:00
parent b4a3beda69
commit aeeb33e699
4 changed files with 30 additions and 29 deletions

View File

@@ -6,7 +6,7 @@ private:
int *resource_counts;
struct m{
int x, y;
int **data;
std::vector<std::vector<int>> data;
} matrix; // Tell me, Mr. Anderson, what good is a phone call if you are unable to speak?
public: