Skip to content

Commit

Permalink
DNM: spurious clangformat
Browse files Browse the repository at this point in the history
  • Loading branch information
nwf-msr committed May 31, 2022
1 parent 53d9fd2 commit 6b2a777
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 4 additions & 3 deletions src/snmalloc/ds/aba.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,10 @@ namespace snmalloc
error("Only one inflight ABA operation at a time is allowed.");
operation_in_flight = true;
# endif
return Cmp{{independent.ptr.load(std::memory_order_relaxed),
independent.aba.load(std::memory_order_relaxed)},
this};
return Cmp{
{independent.ptr.load(std::memory_order_relaxed),
independent.aba.load(std::memory_order_relaxed)},
this};
}

struct Cmp
Expand Down
6 changes: 2 additions & 4 deletions src/snmalloc/ds_core/redblacktree.h
Original file line number Diff line number Diff line change
Expand Up @@ -490,8 +490,7 @@ namespace snmalloc
*/
path.move(true);
while (path.move(false))
{
}
{}

K curr = path.curr();

Expand Down Expand Up @@ -737,8 +736,7 @@ namespace snmalloc

auto path = get_root_path();
while (path.move(true))
{
}
{}

K result = path.curr();

Expand Down

0 comments on commit 6b2a777

Please sign in to comment.