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