1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 07:13: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
+1 -1
View File
@@ -13,7 +13,7 @@
std::vector<Oper *> Oper::opers;
Oper::Oper(const Anope::string &n, OperType *o) : name(n), ot(o), require_oper(true)
Oper::Oper(const Anope::string &n, OperType *o) : name(n), ot(o)
{
opers.push_back(this);
}