mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 16:53:08 -07:00
Revise inline keyword usage
And let compiler decide whether to inline functions.
This commit is contained in:
parent
f6f8aaf3db
commit
7a5e883cd2
3 changed files with 7 additions and 5 deletions
|
@ -88,7 +88,7 @@ namespace
|
|||
return ret;
|
||||
}
|
||||
|
||||
inline QUrl urlFromHostHeader(const QString &hostHeader)
|
||||
QUrl urlFromHostHeader(const QString &hostHeader)
|
||||
{
|
||||
if (!hostHeader.contains(QLatin1String("://")))
|
||||
return {QLatin1String("http://") + hostHeader};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue