More DNS cleanup.

This commit is contained in:
XMRig 2025-06-20 23:45:53 +07:00
parent 545aef0937
commit 6a690ba1e9
No known key found for this signature in database
GPG key ID: 446A53638BE94409
2 changed files with 0 additions and 3 deletions

View file

@ -38,7 +38,6 @@ public:
IDnsBackend() = default; IDnsBackend() = default;
virtual ~IDnsBackend() = default; virtual ~IDnsBackend() = default;
virtual const DnsRecords &records() const = 0;
virtual void resolve(const String &host, const std::weak_ptr<IDnsListener> &listener, const DnsConfig &config) = 0; virtual void resolve(const String &host, const std::weak_ptr<IDnsListener> &listener, const DnsConfig &config) = 0;
}; };

View file

@ -40,8 +40,6 @@ public:
~DnsUvBackend() override; ~DnsUvBackend() override;
protected: protected:
inline const DnsRecords &records() const override { return m_records; }
void resolve(const String &host, const std::weak_ptr<IDnsListener> &listener, const DnsConfig &config) override; void resolve(const String &host, const std::weak_ptr<IDnsListener> &listener, const DnsConfig &config) override;
private: private: