mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
Everywhere: Convert from_string_view -> from_string_literal where static
This commit is contained in:
parent
37e0f7b381
commit
229b64a4b7
Notes:
github-actions[bot]
2024-09-11 09:59:55 +00:00
Author: https://github.com/asutoshvariar 🔰
Commit: 229b64a4b7
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/457
26 changed files with 80 additions and 80 deletions
|
|
@ -25,7 +25,7 @@ static ErrorOr<ByteString> find_certificates(StringView serenity_resource_root)
|
|||
{
|
||||
auto cert_path = ByteString::formatted("{}/res/ladybird/cacert.pem", serenity_resource_root);
|
||||
if (!FileSystem::exists(cert_path))
|
||||
return Error::from_string_view("Don't know how to load certs!"sv);
|
||||
return Error::from_string_literal("Don't know how to load certs!");
|
||||
return cert_path;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue