Skip to content

Commit

Permalink
Apply clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 10, 2024
1 parent af5e529 commit 764f6ba
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ class SmallVector
}

internal_vector().erase (internal_vector().begin() + (int) first_erase_index,
internal_vector().begin() + (int) first_erase_index + (int) num_to_erase);
internal_vector().begin() + (int) first_erase_index + (int) num_to_erase);
return internal_vector().data() + first_erase_index;
}

Expand Down Expand Up @@ -483,13 +483,13 @@ class SmallVector

if (count <= head_size)
{
internal_data = ArrayStuff{};
internal_data = ArrayStuff {};
internal_array().array_size_used = count;
std::fill (internal_array().array.begin(), internal_array().array.begin() + count, value);
}
else
{
internal_data = std::vector<T>{};
internal_data = std::vector<T> {};
internal_vector().resize (count, value);
}
}
Expand Down

0 comments on commit 764f6ba

Please sign in to comment.