summaryrefslogtreecommitdiff
path: root/include/modules/cs_log.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2022-01-03 18:52:15 +0000
committerSadie Powell <sadie@witchery.services>2022-01-04 00:17:19 +0000
commita31a7f5a6ce3f47716a9313d232c2a40955fd1e1 (patch)
tree8061f572670ccda9030955b67cdefba7df4facce /include/modules/cs_log.h
parent7531e90499d4cd60b6464c692725225e85c00738 (diff)
Use C++11 default initializers and destructors where possible.
Diffstat (limited to 'include/modules/cs_log.h')
-rw-r--r--include/modules/cs_log.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/modules/cs_log.h b/include/modules/cs_log.h
index 0df61d4db..14f9764e3 100644
--- a/include/modules/cs_log.h
+++ b/include/modules/cs_log.h
@@ -22,9 +22,9 @@ struct LogSetting
Anope::string creator;
time_t created;
- virtual ~LogSetting() { }
+ virtual ~LogSetting() = default;
protected:
- LogSetting() { }
+ LogSetting() = default;
};
struct LogSettings : Serialize::Checker<std::vector<LogSetting *> >
@@ -37,6 +37,6 @@ struct LogSettings : Serialize::Checker<std::vector<LogSetting *> >
}
public:
- virtual ~LogSettings() { }
+ virtual ~LogSettings() = default;
virtual LogSetting *Create() = 0;
};