diff --git a/ex6.2/Array.hh b/ex6.2/Array.hh index 84bab41..d1a5eec 100644 --- a/ex6.2/Array.hh +++ b/ex6.2/Array.hh @@ -11,6 +11,7 @@ public: Array(const Array& other) : _size(other._size) { _arr = new T[other._size] ; + _default = other._default; // Copy elements for (int i=0 ; i<_size ; i++) {