summaryrefslogtreecommitdiff
path: root/include/modules/cs_mode.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_mode.h
parent7531e90499d4cd60b6464c692725225e85c00738 (diff)
Use C++11 default initializers and destructors where possible.
Diffstat (limited to 'include/modules/cs_mode.h')
-rw-r--r--include/modules/cs_mode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/modules/cs_mode.h b/include/modules/cs_mode.h
index fe59f17f9..d99a9a1ff 100644
--- a/include/modules/cs_mode.h
+++ b/include/modules/cs_mode.h
@@ -18,16 +18,16 @@ struct ModeLock
Anope::string setter;
time_t created;
- virtual ~ModeLock() { }
+ virtual ~ModeLock() = default;
protected:
- ModeLock() { }
+ ModeLock() = default;
};
struct ModeLocks
{
typedef std::vector<ModeLock *> ModeList;
- virtual ~ModeLocks() { }
+ virtual ~ModeLocks() = default;
/** Check if a mode is mlocked
* @param mode The mode