mirror of
https://github.com/RGBCube/serenity
synced 2025-07-02 20:02: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
|
@ -15,7 +15,7 @@ ErrorOr<FlatPtr> Process::sys$perf_event(int type, FlatPtr arg1, FlatPtr arg2)
|
|||
auto* events_buffer = current_perf_events_buffer();
|
||||
if (!events_buffer)
|
||||
return 0;
|
||||
TRY(events_buffer->append(type, arg1, arg2, nullptr));
|
||||
TRY(events_buffer->append(type, arg1, arg2, {}));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue