[NFC] Automatic fixes from clang-tidy.

This commit is contained in:
David Chisnall
2019-04-29 11:33:07 +01:00
parent e6325e5cd2
commit 4bafca9be7
12 changed files with 92 additions and 91 deletions

View File

@@ -76,8 +76,8 @@ namespace snmalloc
// Returns a linked list of all objects in the stack, emptying the stack.
if (p == nullptr)
return stack.pop_all();
else
return p->next;
return p->next;
}
void restore(T* first, T* last)
@@ -91,8 +91,8 @@ namespace snmalloc
{
if (p == nullptr)
return list;
else
return p->list_next;
return p->list_next;
}
};
}