mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Revise inline keyword usage
And let compiler decide whether to inline functions.
This commit is contained in:
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user