diff --git a/include/bank.h b/include/bank.h index af2d2e1..bce22df 100644 --- a/include/bank.h +++ b/include/bank.h @@ -55,7 +55,7 @@ public: bool Contains(const std::string &name) const noexcept; bool AdminVerifyAccount(std::string_view name) noexcept; - BankResponse AddUser(const std::string &name, std::string &&init_pass) noexcept; + BankResponse AddUser(std::string &&name, std::string &&init_pass) noexcept; BankResponse AdminAddUser(std::string &&name, uint32_t init_bal, std::string &&init_pass) noexcept; BankResponse DelUser(const std::string &name) noexcept;