From 65428a08836d767ac7f2a2fb3efa1189cc355568 Mon Sep 17 00:00:00 2001 From: Camille Chauvet Date: Thu, 5 Oct 2023 10:51:12 +0000 Subject: [PATCH] ex02: opti --- ex02/src/Array.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ex02/src/Array.hpp b/ex02/src/Array.hpp index 6fcb2f8..abab477 100644 --- a/ex02/src/Array.hpp +++ b/ex02/src/Array.hpp @@ -24,7 +24,7 @@ class Array Array(const Array& src) { - this->_arr = new T[0]; + this->_arr = NULL; *this = src; };