diff options
Diffstat (limited to 'include/modules/cs_log.h')
-rw-r--r-- | include/modules/cs_log.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/include/modules/cs_log.h b/include/modules/cs_log.h index 4e85e8505..077ee70ed 100644 --- a/include/modules/cs_log.h +++ b/include/modules/cs_log.h @@ -9,6 +9,8 @@ * Based on the original code of Services by Andy Church. */ +#pragma once + struct LogSetting { Anope::string chan; @@ -22,21 +24,22 @@ struct LogSetting Anope::string creator; time_t created; - virtual ~LogSetting() { } - protected: - LogSetting() { } + virtual ~LogSetting() = default; +protected: + LogSetting() = default; }; -struct LogSettings : Serialize::Checker<std::vector<LogSetting *> > +struct LogSettings + : Serialize::Checker<std::vector<LogSetting *> > { typedef std::vector<LogSetting *>::iterator iterator; - protected: +protected: LogSettings() : Serialize::Checker<std::vector<LogSetting *> >("LogSetting") { } - public: - virtual ~LogSettings() { } +public: + virtual ~LogSettings() = default; virtual LogSetting *Create() = 0; }; |