Switch to using std::vector rather than directly managed memory
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user