Skip to content

Commit 6d27832

Browse files
author
Alexandr Borzykh
committed
data_structure/dynamic_array: fix omg
Do not set new size since it was not really constructed/acquired
1 parent 62ab936 commit 6d27832

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/cslib/data_structure/dynamic_array.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ namespace data_structure
118118

119119
_data = new_storage;
120120
_capacity = new_capacity;
121-
_size = new_size;
122121
}
123122
}
124123
};

0 commit comments

Comments
 (0)