mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-10 03:26:10 +00:00
LibConfig: Rename pledge_domains(String) => pledge_domain(String)
pledge_domains() that takes only one String argument was specifically added as a shortcut for pledging a single domain. So, it makes sense to use singular here.
This commit is contained in:
parent
873f4d5de6
commit
32b8795091
Notes:
sideshowbarker
2024-07-17 19:01:28 +09:00
Author: https://github.com/obyknovenius 🔰
Commit: 32b8795091
Pull-request: https://github.com/SerenityOS/serenity/pull/12438
27 changed files with 28 additions and 28 deletions
|
@ -100,9 +100,9 @@ inline void pledge_domains(Vector<String> const& domains)
|
|||
Client::the().pledge_domains(domains);
|
||||
}
|
||||
|
||||
inline void pledge_domains(String const& domains)
|
||||
inline void pledge_domain(String const& domain)
|
||||
{
|
||||
Client::the().pledge_domains({ domains });
|
||||
Client::the().pledge_domains({ domain });
|
||||
}
|
||||
|
||||
inline void monitor_domain(String const& domain)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue