Skip to content

Commit

Permalink
style: default copy constructor of Array
Browse files Browse the repository at this point in the history
  • Loading branch information
vil02 committed Jan 28, 2024
1 parent cf9535c commit 261595d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions api/array.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ namespace jule

Array(void) = default;

Array(const jule::Array<Item, N> &src)
{
std::copy(src.begin(), src.end(), this->begin());
}
Array(const jule::Array<Item, N> &) = default;

Array(const std::initializer_list<Item> &src)
{
Expand Down

0 comments on commit 261595d

Please sign in to comment.