summaryrefslogtreecommitdiff
path: root/include/commands.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/commands.h
parent7531e90499d4cd60b6464c692725225e85c00738 (diff)
Use C++11 default initializers and destructors where possible.
Diffstat (limited to 'include/commands.h')
-rw-r--r--include/commands.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/commands.h b/include/commands.h
index 29fa3a601..c5b718dea 100644
--- a/include/commands.h
+++ b/include/commands.h
@@ -43,7 +43,7 @@ struct CommandInfo
*/
struct CoreExport CommandReply
{
- virtual ~CommandReply() { }
+ virtual ~CommandReply() = default;
virtual void SendMessage(BotInfo *source, const Anope::string &msg) = 0;
};
@@ -118,7 +118,7 @@ class CoreExport Command : public Service
Command(Module *owner, const Anope::string &sname, size_t min_params, size_t max_params = 0);
public:
- virtual ~Command();
+ virtual ~Command() = default;
protected:
void SetDesc(const Anope::string &d);