made some member funcs const

This commit is contained in:
EntireTwix 2021-04-01 21:53:36 -07:00
parent 1d5f93479b
commit 0ed92a63ef

View file

@ -59,7 +59,7 @@ public:
* *
* @return the balance * @return the balance
*/ */
uint_fast64_t GetBal() uint_fast64_t GetBal() const
{ {
return balance; return balance;
} }
@ -70,7 +70,7 @@ public:
* @param attempt the password * @param attempt the password
* @return wether the passwords match * @return wether the passwords match
*/ */
bool VerifyPassword(const std::string &attempt) //for connected services bool VerifyPassword(const std::string &attempt) const
{ {
return (password == attempt); return (password == attempt);
} }