mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:48:12 +00:00
Everywhere: Use default StringView constructor over nullptr
While null StringViews are just as bad, these prevent the removal of StringView(char const*) as that constructor accepts a nullptr. No functional changes.
This commit is contained in:
parent
c8585b77d2
commit
fbc771efe9
16 changed files with 31 additions and 31 deletions
|
@ -348,7 +348,7 @@ ErrorOr<void> PerformanceEventBuffer::add_process(Process const& process, Proces
|
|||
ErrorOr<void> result;
|
||||
process.for_each_thread([&](auto& thread) {
|
||||
result = append_with_ip_and_bp(process.pid(), thread.tid().value(),
|
||||
0, 0, PERF_EVENT_THREAD_CREATE, 0, 0, 0, nullptr);
|
||||
0, 0, PERF_EVENT_THREAD_CREATE, 0, 0, 0, {});
|
||||
return result.is_error() ? IterationDecision::Break : IterationDecision::Continue;
|
||||
});
|
||||
TRY(result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue