Skip to content

Commit

Permalink
apply code-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
veahow authored and github-actions[bot] committed Oct 14, 2022
1 parent 08f6577 commit d6605f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simplestl.h
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ struct vector
{
capacity_ = new_size * 2;
T* new_data = (T*)new char[capacity_ * sizeof(T)];
memset(static_cast<void *>(new_data), 0, capacity_ * sizeof(T));
memset(static_cast<void*>(new_data), 0, capacity_ * sizeof(T));
if (data_)
{
memmove(new_data, data_, sizeof(T) * size_);
Expand Down

0 comments on commit d6605f8

Please sign in to comment.