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:
+2
-2
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user