From fa1a9e6728fc86860473381eb081bac64e333b14 Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Tue, 13 Jul 2021 20:25:02 -0700 Subject: [PATCH] :fire: remove moved operations as they werent being utilized --- include/bank.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bank.h b/include/bank.h index 1b035d9..578b64a 100644 --- a/include/bank.h +++ b/include/bank.h @@ -56,7 +56,7 @@ public: bool Contains(const std::string &name) const noexcept; bool AdminVerifyAccount(const std::string &name) noexcept; - BankResponse AddUser(const std::string &name, uint32_t init_bal, std::string &&init_pass) noexcept; + BankResponse AddUser(const std::string &name, uint32_t init_bal, const std::string &init_pass) noexcept; BankResponse DelUser(const std::string &name) noexcept; void DelSelf(const std::string &name) noexcept;