More DNS cleanup.
This commit is contained in:
parent
545aef0937
commit
6a690ba1e9
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -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:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user