refactor: prefer std::ranges over begin() and end() (#43464)
This commit is contained in:
parent
56829f75c1
commit
2390706030
11 changed files with 30 additions and 40 deletions
|
@ -455,8 +455,7 @@ struct Converter<network::mojom::SSLConfigPtr> {
|
|||
!options.Get("disabledCipherSuites", &(*out)->disabled_cipher_suites)) {
|
||||
return false;
|
||||
}
|
||||
std::sort((*out)->disabled_cipher_suites.begin(),
|
||||
(*out)->disabled_cipher_suites.end());
|
||||
std::ranges::sort((*out)->disabled_cipher_suites);
|
||||
|
||||
// TODO(nornagon): also support other SSLConfig properties?
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue