Skip to content

Commit

Permalink
Update arraylist.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
mehah committed Oct 23, 2023
1 parent 04e9331 commit 38da18d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/utils/arraylist.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ namespace stdext {
class arraylist {
public:
arraylist() = default;
arraylist(size_t reserveSize) {

explicit arraylist(size_t reserveSize) {
reserve(reserveSize);
}

arraylist(std::initializer_list<T> _Ilist) {
explicit arraylist(std::initializer_list<T> _Ilist) {
backContainer.assign(_Ilist);
}

Expand Down

0 comments on commit 38da18d

Please sign in to comment.