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:
@@ -56,10 +56,6 @@ struct StackerInfo
|
||||
void AddMode(Mode *mode, bool set, const Anope::string ¶m);
|
||||
};
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user