1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 13:03:14 +02:00

Use C++11 style class/struct initialisation.

This commit is contained in:
Sadie Powell
2022-01-03 18:34:16 +00:00
parent dfcc025a19
commit 7531e90499
64 changed files with 188 additions and 230 deletions
+2 -2
View File
@@ -27,7 +27,7 @@
#include <netdb.h>
#endif
NumberList::NumberList(const Anope::string &list, bool descending) : is_valid(true), desc(descending)
NumberList::NumberList(const Anope::string &list, bool descending) : desc(descending)
{
Anope::string error;
commasepstream sep(list);
@@ -214,7 +214,7 @@ void ListFormatter::Process(std::vector<Anope::string> &buffer)
}
}
InfoFormatter::InfoFormatter(NickCore *acc) : nc(acc), longest(0)
InfoFormatter::InfoFormatter(NickCore *acc) : nc(acc)
{
}