summaryrefslogtreecommitdiff
path: root/include/modes.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/modes.h
parent7531e90499d4cd60b6464c692725225e85c00738 (diff)
Use C++11 default initializers and destructors where possible.
Diffstat (limited to 'include/modes.h')
-rw-r--r--include/modes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/modes.h b/include/modes.h
index 3b4b0c1bb..af66a877c 100644
--- a/include/modes.h
+++ b/include/modes.h
@@ -55,7 +55,7 @@ class CoreExport Mode : public Base
* @param type The mode type
*/
Mode(const Anope::string &mname, ModeClass mclass, char mc, ModeType type);
- virtual ~Mode();
+ virtual ~Mode() = default;
/** Can a user set this mode, used for mlock
* @param u The user
@@ -229,7 +229,7 @@ class CoreExport ChannelStatus
{
Anope::string modes;
public:
- ChannelStatus();
+ ChannelStatus() = default;
ChannelStatus(const Anope::string &modes);
void AddMode(char c);
void DelMode(char c);