Skip to content

Commit

Permalink
Update vector.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
wXwSmilewXw committed Nov 22, 2024
1 parent 27ca431 commit 62e1774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LibraryC/Tests/vector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ int main()
// Performance test
for (int i = 1 ; i <= 10000000 ; ++i)
{
std::cout << "Current size: " << vector_size(vector) << ", Capacity: " << vector_capacity(vector) << i << "\n";
std::cout << "Current size: " << vector_size(vector) << ", Capacity: " << vector->capacity << i << "\n";
vector_resize(vector, i);
vector_set(vector, i - 1, new int(i));
}
Expand Down

0 comments on commit 62e1774

Please sign in to comment.