diff options
author | Sadie Powell <sadie@witchery.services> | 2023-03-06 16:11:54 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2023-03-13 13:52:56 +0000 |
commit | 29db25dac7aff36b4f7239a9fabd57230534cf35 (patch) | |
tree | 9cc80ab7134514381f02835629ade620584020d0 /modules/commands/os_dns.cpp | |
parent | d210cd26952a4d4441223809dc259fcf6eaff5fd (diff) |
Fix missing override keywords.
Diffstat (limited to 'modules/commands/os_dns.cpp')
-rw-r--r-- | modules/commands/os_dns.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/os_dns.cpp b/modules/commands/os_dns.cpp index c562815eb..bcc1eaef0 100644 --- a/modules/commands/os_dns.cpp +++ b/modules/commands/os_dns.cpp @@ -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); |