mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 07:57:22 -06:00
Put internal function into anonymous namespace
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user