From 261595dda4902a89b87ab6402f2d4f093958dda3 Mon Sep 17 00:00:00 2001 From: vil02 Date: Sun, 28 Jan 2024 21:41:21 +0100 Subject: [PATCH] style: default copy constructor of `Array` --- api/array.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/api/array.hpp b/api/array.hpp index 5474d736e..e98ab0bea 100644 --- a/api/array.hpp +++ b/api/array.hpp @@ -30,10 +30,7 @@ namespace jule Array(void) = default; - Array(const jule::Array &src) - { - std::copy(src.begin(), src.end(), this->begin()); - } + Array(const jule::Array &) = default; Array(const std::initializer_list &src) {