mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Put internal function into anonymous namespace
This commit is contained in:
parent
f993230582
commit
f6f8aaf3db
@ -36,9 +36,12 @@ const int CACHE_SIZE = 500;
|
||||
|
||||
using namespace Net;
|
||||
|
||||
static inline bool isUsefulHostName(const QString &hostname, const QString &ip)
|
||||
namespace
|
||||
{
|
||||
return (!hostname.isEmpty() && (hostname != ip));
|
||||
bool isUsefulHostName(const QString &hostname, const QString &ip)
|
||||
{
|
||||
return (!hostname.isEmpty() && (hostname != ip));
|
||||
}
|
||||
}
|
||||
|
||||
ReverseResolution::ReverseResolution(QObject *parent)
|
||||
|
Loading…
Reference in New Issue
Block a user