Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize QSslSocketPrivate::isMatchingHostname()
- Lowercase 'peerName' only once instead of each time though the loop - Use C++11 range-for instead of Q_FOREACH - Use QMap::equal_range instead of values(Key), saving the creation of a QList. Change-Id: I1229f62d706d1478960b08bb63ee9fb894364f87 Reviewed-by: Lars Knoll <[email protected]> Reviewed-by: Richard J. Moore <[email protected]> Reviewed-by: Thiago Macieira <[email protected]>
- Loading branch information