mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:57:44 +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
|
@ -280,7 +280,7 @@ void Service::did_exit(int exit_code)
|
|||
activate();
|
||||
}
|
||||
|
||||
Service::Service(const Core::ConfigFile& config, const StringView& name)
|
||||
Service::Service(const Core::ConfigFile& config, StringView name)
|
||||
: Core::Object(nullptr)
|
||||
{
|
||||
VERIFY(config.has_group(name));
|
||||
|
|
|
@ -27,7 +27,7 @@ public:
|
|||
void save_to(JsonObject&);
|
||||
|
||||
private:
|
||||
Service(const Core::ConfigFile&, const StringView& name);
|
||||
Service(const Core::ConfigFile&, StringView name);
|
||||
|
||||
void spawn(int socket_fd = -1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue