mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 07:54:58 +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
|
@ -67,7 +67,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
auto& clipboard = GUI::Clipboard::the();
|
||||
|
||||
if (watch) {
|
||||
watch_command.append(nullptr);
|
||||
watch_command.append({});
|
||||
|
||||
clipboard.on_change = [&](String const&) {
|
||||
// Technically there's a race here...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue