aboutsummaryrefslogtreecommitdiff
path: root/include/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-10-30 12:16:52 +0000
committerGravatar Sadie Powell2022-10-30 12:58:38 +0000
commit41926908ecfcf043cd149e93f0c710f8cecd96a0 (patch)
tree1a0c82117e31ad9fca8b43514e571344793353c9 /include/modules
parentSlim down the forward declarations in typedefs. (diff)
Fix some types which were missed when making stuff final.
Diffstat (limited to 'include/modules')
-rw-r--r--include/modules/dns.h4
-rw-r--r--include/modules/reload.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/modules/dns.h b/include/modules/dns.h
index c8669fff0..95685eae7 100644
--- a/include/modules/dns.h
+++ b/include/modules/dns.h
@@ -99,7 +99,7 @@ namespace DNS
bool operator==(const Question& other) const { return ((name == other.name) && (type == other.type)); }
bool operator!=(const Question& other) const { return (!(*this == other)); }
- struct hash
+ struct hash final
{
size_t operator()(const Question& question) const
{
@@ -110,7 +110,7 @@ namespace DNS
namespace Record
{
- struct SRV
+ struct SRV final
{
uint16_t priority = UINT16_MAX;
uint16_t weight = 0;
diff --git a/include/modules/reload.h b/include/modules/reload.h
index fb10fe355..e70782f54 100644
--- a/include/modules/reload.h
+++ b/include/modules/reload.h
@@ -28,7 +28,7 @@ namespace ReloadModule
*/
class CustomData
{
- struct Data
+ struct Data final
{
EventListener* handler;
void* data;