1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-07 07:55:04 -05:00

Code cleanup based on Clang-Tidy.

This commit is contained in:
XMRig
2021-08-25 18:45:15 +07:00
parent 3215403815
commit c7ac314110
133 changed files with 437 additions and 833 deletions

View File

@@ -34,7 +34,7 @@ public:
static const char *kTTL;
DnsConfig() = default;
DnsConfig(const rapidjson::Value &object);
DnsConfig(const rapidjson::Value &value);
inline bool isIPv6() const { return m_ipv6; }
inline uint32_t ttl() const { return m_ttl * 1000U; }