mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:47:34 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -68,7 +68,7 @@ struct ThreadData {
|
|||
};
|
||||
|
||||
struct PidAndTid {
|
||||
bool operator==(const PidAndTid& other) const
|
||||
bool operator==(PidAndTid const& other) const
|
||||
{
|
||||
return pid == other.pid && tid == other.tid;
|
||||
}
|
||||
|
@ -79,7 +79,7 @@ struct PidAndTid {
|
|||
namespace AK {
|
||||
template<>
|
||||
struct Traits<PidAndTid> : public GenericTraits<PidAndTid> {
|
||||
static unsigned hash(const PidAndTid& value) { return pair_int_hash(value.pid, value.tid); }
|
||||
static unsigned hash(PidAndTid const& value) { return pair_int_hash(value.pid, value.tid); }
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -143,7 +143,7 @@ static void parse_args(Main::Arguments arguments, TopOption& top_option)
|
|||
"sort-by",
|
||||
's',
|
||||
nullptr,
|
||||
[&top_option](const char* s) {
|
||||
[&top_option](char const* s) {
|
||||
StringView sort_by_option { s };
|
||||
if (sort_by_option == "pid"sv)
|
||||
top_option.sort_by = TopOption::SortBy::Pid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue