mirror of
https://github.com/anope/anope.git
synced 2026-07-03 14:53:13 +02:00
Fix missing override keywords.
This commit is contained in:
@@ -29,7 +29,7 @@ struct DNSZone : Serializable
|
||||
zones->push_back(this);
|
||||
}
|
||||
|
||||
~DNSZone()
|
||||
~DNSZone() override
|
||||
{
|
||||
std::vector<DNSZone *>::iterator it = std::find(zones->begin(), zones->end(), this);
|
||||
if (it != zones->end())
|
||||
@@ -104,7 +104,7 @@ class DNSServer : public Serializable
|
||||
dns_servers->push_back(this);
|
||||
}
|
||||
|
||||
~DNSServer()
|
||||
~DNSServer() override
|
||||
{
|
||||
std::vector<DNSServer *>::iterator it = std::find(dns_servers->begin(), dns_servers->end(), this);
|
||||
if (it != dns_servers->end())
|
||||
@@ -743,7 +743,7 @@ class ModuleDNS : public Module
|
||||
}
|
||||
}
|
||||
|
||||
~ModuleDNS()
|
||||
~ModuleDNS() override
|
||||
{
|
||||
for (unsigned i = zones->size(); i > 0; --i)
|
||||
delete zones->at(i - 1);
|
||||
|
||||
Reference in New Issue
Block a user