From 73d4ac6de04a1035ac36182d3f269cc938c6bc19 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 27 Feb 2024 10:34:27 +0000 Subject: Remove redundant uses of const. --- src/opertype.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/opertype.cpp') 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 OperType::GetCommands() const +std::list OperType::GetCommands() const { std::list cmd_list = this->commands; for (auto *ot : this->inheritances) @@ -119,7 +119,7 @@ const std::list OperType::GetCommands() const return cmd_list; } -const std::list OperType::GetPrivs() const +std::list OperType::GetPrivs() const { std::list priv_list = this->privs; for (auto *ot : this->inheritances) -- cgit