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