mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 15:37:46 +00:00
Everywhere: Pass AK::StringView by value
This commit is contained in:
parent
ad5d217e76
commit
8b1108e485
392 changed files with 978 additions and 978 deletions
|
@ -324,7 +324,7 @@ void HexEditorWidget::initialize_menubar(GUI::Window& window)
|
|||
help_menu.add_action(GUI::CommonActions::make_about_action("Hex Editor", GUI::Icon::default_icon("app-hex-editor"), &window));
|
||||
}
|
||||
|
||||
void HexEditorWidget::set_path(StringView const& path)
|
||||
void HexEditorWidget::set_path(StringView path)
|
||||
{
|
||||
if (path.is_empty()) {
|
||||
m_path = {};
|
||||
|
|
|
@ -28,7 +28,7 @@ public:
|
|||
|
||||
private:
|
||||
HexEditorWidget();
|
||||
void set_path(StringView const&);
|
||||
void set_path(StringView);
|
||||
void update_title();
|
||||
void set_search_results_visible(bool visible);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue