diff options
author | Sadie Powell <sadie@witchery.services> | 2024-02-27 10:34:27 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-02-27 10:34:27 +0000 |
commit | 73d4ac6de04a1035ac36182d3f269cc938c6bc19 (patch) | |
tree | 84d50083d34ea1d69b832a5e55eab50ebc1ac71b /src/opertype.cpp | |
parent | 7640fad30cc2a3d61e67a7075c27f26400d4779f (diff) |
Remove redundant uses of const.
Diffstat (limited to 'src/opertype.cpp')
-rw-r--r-- | src/opertype.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opertype.cpp b/src/opertype.cpp index acfe40135..0ff541e5d 100644 --- a/src/opertype.cpp +++ b/src/opertype.cpp @@ -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) |