Skip to content

Commit

Permalink
clang-format conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
isidorostsa committed Dec 17, 2024
1 parent 2f85fe0 commit 00e0095
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ namespace hpx::detail {
{
auto target = small_vector();

// we know target is indirect because we're increasing capacity
// we know target is indirect because we are increasing capacity
target.reserve(s + count);

// move everything [begin, pos[
Expand Down
8 changes: 3 additions & 5 deletions libs/core/datastructures/tests/unit/inplace_vector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ namespace test {
HPX_TEST_EQ(dist2, cont_b.size());

for (std::size_t i = 0; itcont_a != itcont_a_end;
++itcont_a, ++itcont_b, ++i)
++itcont_a, ++itcont_b, ++i)
{
HPX_TEST_EQ(*itcont_a, *itcont_b);
}
Expand Down Expand Up @@ -728,11 +728,11 @@ namespace test {
HPX_ASSERT(false);
}
}
{
{
inplace_vector<int, 5> v = {1, 2, 3, 4, 5};
try
{
(void)v.at(6);
(void) v.at(6);
}
catch (std::out_of_range&)
{
Expand All @@ -742,8 +742,6 @@ namespace test {
HPX_ASSERT(false);
}
}


}
} // namespace test

Expand Down

0 comments on commit 00e0095

Please sign in to comment.