1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00

LibGUI: Make some API's take String instead of StringView

This commit is contained in:
Andreas Kling 2021-04-17 00:47:36 +02:00
parent 36f27094d0
commit 0e4eb62dd8
6 changed files with 20 additions and 20 deletions

View file

@ -51,8 +51,8 @@ Menu* Menu::from_menu_id(int menu_id)
return (*it).value;
}
Menu::Menu(const StringView& name)
: m_name(name)
Menu::Menu(String name)
: m_name(move(name))
{
}