Everywhere: Use east const in more places

These changes are compatible with clang-format 16 and will be mandatory
when we eventually bump clang-format version. So, since there are no
real downsides, let's commit them now.
This commit is contained in:
Dan Klishch 2024-04-18 15:32:56 -04:00 committed by Tim Flynn
parent 5ef6df79ed
commit 5ed7cd6e32
Notes: sideshowbarker 2024-07-16 23:38:54 +09:00
175 changed files with 353 additions and 353 deletions

View file

@ -25,7 +25,7 @@ ErrorOr<AllProcessesStatistics> ProcessStatisticsReader::get_all(SeekableStream&
auto file_contents = TRY(proc_all_file.read_until_eof());
auto json_obj = TRY(JsonValue::from_string(file_contents)).as_object();
json_obj.get_array("processes"sv)->for_each([&](auto& value) {
const JsonObject& process_object = value.as_object();
JsonObject const& process_object = value.as_object();
Core::ProcessStatistics process;
// kernel data first