1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 04:46:37 +02:00

Use C++11 default initializers and destructors where possible.

This commit is contained in:
Sadie Powell
2022-01-03 18:52:15 +00:00
parent 7531e90499
commit a31a7f5a6c
34 changed files with 52 additions and 93 deletions
-8
View File
@@ -56,10 +56,6 @@ struct StackerInfo
void AddMode(Mode *mode, bool set, const Anope::string &param);
};
ChannelStatus::ChannelStatus()
{
}
ChannelStatus::ChannelStatus(const Anope::string &m) : modes(m)
{
}
@@ -116,10 +112,6 @@ Mode::Mode(const Anope::string &mname, ModeClass mcl, char mch, ModeType mt) : n
{
}
Mode::~Mode()
{
}
bool Mode::CanSet(User *u) const
{
return true;