From 6a6299d35d001bbe6ed9e29101d0c23ae86ccff2 Mon Sep 17 00:00:00 2001 From: p68710245 Date: Sun, 17 Mar 2024 23:04:52 +0800 Subject: [PATCH] Update Array2D.hpp --- Array2D.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Array2D.hpp b/Array2D.hpp index f546746..5c931cd 100644 --- a/Array2D.hpp +++ b/Array2D.hpp @@ -8,7 +8,7 @@ class Array2D { int **arr; // 指针数组退化为二级指针 - const int row, col; // 二维数组的行和列 + int row, col; // 二维数组的行和列 public: Array2D(int _row, int _col) : row{_row}, col{_col} {