mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
Put internal function into anonymous namespace
This commit is contained in:
parent
f993230582
commit
f6f8aaf3db
1 changed files with 5 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue