summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/resolvers.h
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-08-15 16:15:26 +0200
committerattilamolnar <attilamolnar@hush.com>2013-08-17 18:27:14 +0200
commite950f568d0f571e9475aa38177486468714de4d3 (patch)
tree783059ff0b0e1d421250510fe080a26db377bc2a /src/modules/m_spanningtree/resolvers.h
parent68afa315fccf5d741103137cb65d613a4e9bfef1 (diff)
m_spanningtree Remove SpanningTreeUtilities* fields and parameters
Diffstat (limited to 'src/modules/m_spanningtree/resolvers.h')
-rw-r--r--src/modules/m_spanningtree/resolvers.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree/resolvers.h b/src/modules/m_spanningtree/resolvers.h
index 249414617..782ac86ef 100644
--- a/src/modules/m_spanningtree/resolvers.h
+++ b/src/modules/m_spanningtree/resolvers.h
@@ -32,12 +32,11 @@ class SecurityIPResolver : public DNS::Request
{
private:
reference<Link> MyLink;
- SpanningTreeUtilities* Utils;
Module* mine;
std::string host;
DNS::QueryType query;
public:
- SecurityIPResolver(Module* me, SpanningTreeUtilities* U, DNS::Manager *mgr, const std::string &hostname, Link* x, DNS::QueryType qt);
+ SecurityIPResolver(Module* me, DNS::Manager* mgr, const std::string& hostname, Link* x, DNS::QueryType qt);
void OnLookupComplete(const DNS::Query *r) CXX11_OVERRIDE;
void OnError(const DNS::Query *q) CXX11_OVERRIDE;
};
@@ -51,13 +50,12 @@ class SecurityIPResolver : public DNS::Request
class ServernameResolver : public DNS::Request
{
private:
- SpanningTreeUtilities* Utils;
DNS::QueryType query;
std::string host;
reference<Link> MyLink;
reference<Autoconnect> myautoconnect;
public:
- ServernameResolver(SpanningTreeUtilities* Util, DNS::Manager *mgr, const std::string &hostname, Link* x, DNS::QueryType qt, Autoconnect* myac);
+ ServernameResolver(DNS::Manager* mgr, const std::string& hostname, Link* x, DNS::QueryType qt, Autoconnect* myac);
void OnLookupComplete(const DNS::Query *r) CXX11_OVERRIDE;
void OnError(const DNS::Query *q) CXX11_OVERRIDE;
};