aboutsummaryrefslogtreecommitdiff
path: root/src/utils/array_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/array_2d.h')
-rw-r--r--src/utils/array_2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/array_2d.h b/src/utils/array_2d.h
index 2df6241..df2da9f 100644
--- a/src/utils/array_2d.h
+++ b/src/utils/array_2d.h
@@ -120,7 +120,7 @@ class Array2D {
const T* operator[](int row) const { return data_view_[row]; }
private:
- std::unique_ptr<T[]> data_ = nullptr;
+ std::unique_ptr<T[]> data_;
size_t allocated_size_ = 0;
size_t size_ = 0;
Array2DView<T> data_view_;