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;