mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 04:08:08 +00:00
Kernel: Replace all usages of String::number with KString::number
This commit is contained in:
@@ -51,7 +51,8 @@ ErrorOr<void> Process::traverse_stacks_directory(FileSystemID fsid, Function<Err
|
||||
for (auto const& thread : list) {
|
||||
int tid = thread.tid().value();
|
||||
InodeIdentifier identifier = { fsid, SegmentedProcFSIndex::build_segmented_index_for_thread_stack(pid(), thread.tid()) };
|
||||
TRY(callback({ String::number(tid), identifier, 0 }));
|
||||
auto name = TRY(KString::number(tid));
|
||||
TRY(callback({ name->view(), identifier, 0 }));
|
||||
}
|
||||
return {};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user