summaryrefslogtreecommitdiff
path: root/include/modules/dns.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules/dns.h')
-rw-r--r--include/modules/dns.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/modules/dns.h b/include/modules/dns.h
index 25123a504..801b5b2f0 100644
--- a/include/modules/dns.h
+++ b/include/modules/dns.h
@@ -79,7 +79,7 @@ namespace DNS
Question(const Anope::string &n, QueryType t, unsigned short c = 1) : name(n), type(t), qclass(c) { }
inline bool operator==(const Question & other) const { return name == other.name && type == other.type && qclass == other.qclass; }
- struct hash
+ struct hash final
{
size_t operator()(const Question &q) const
{
@@ -88,7 +88,7 @@ namespace DNS
};
};
- struct ResourceRecord
+ struct ResourceRecord final
: Question
{
unsigned int ttl = 0;