mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:38:10 +00:00
Everywhere: Prefer using "..."sv over StringView { "..." }
This commit is contained in:
parent
ea8ff03475
commit
3bbe86d8ea
11 changed files with 35 additions and 35 deletions
|
@ -160,7 +160,7 @@ void HackStudioWidget::update_actions()
|
|||
auto widget = m_action_tab_widget->active_widget();
|
||||
if (!widget)
|
||||
return false;
|
||||
if (StringView { "TerminalWrapper" } != widget->class_name())
|
||||
if ("TerminalWrapper"sv != widget->class_name())
|
||||
return false;
|
||||
if (!reinterpret_cast<TerminalWrapper*>(widget)->user_spawned())
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue