mirror of
https://github.com/anope/anope.git
synced 2026-06-29 20:46:39 +02:00
Remove redundant uses of const.
This commit is contained in:
+2
-2
@@ -108,7 +108,7 @@ void OperType::Inherits(OperType *ot)
|
||||
this->inheritances.insert(ot);
|
||||
}
|
||||
|
||||
const std::list<Anope::string> OperType::GetCommands() const
|
||||
std::list<Anope::string> OperType::GetCommands() const
|
||||
{
|
||||
std::list<Anope::string> cmd_list = this->commands;
|
||||
for (auto *ot : this->inheritances)
|
||||
@@ -119,7 +119,7 @@ const std::list<Anope::string> OperType::GetCommands() const
|
||||
return cmd_list;
|
||||
}
|
||||
|
||||
const std::list<Anope::string> OperType::GetPrivs() const
|
||||
std::list<Anope::string> OperType::GetPrivs() const
|
||||
{
|
||||
std::list<Anope::string> priv_list = this->privs;
|
||||
for (auto *ot : this->inheritances)
|
||||
|
||||
Reference in New Issue
Block a user