mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 12:37:08 +11:00
made some member funcs const
This commit is contained in:
parent
1d5f93479b
commit
0ed92a63ef
1 changed files with 2 additions and 2 deletions
|
|
@ -59,7 +59,7 @@ public:
|
|||
*
|
||||
* @return the balance
|
||||
*/
|
||||
uint_fast64_t GetBal()
|
||||
uint_fast64_t GetBal() const
|
||||
{
|
||||
return balance;
|
||||
}
|
||||
|
|
@ -70,7 +70,7 @@ public:
|
|||
* @param attempt the password
|
||||
* @return wether the passwords match
|
||||
*/
|
||||
bool VerifyPassword(const std::string &attempt) //for connected services
|
||||
bool VerifyPassword(const std::string &attempt) const
|
||||
{
|
||||
return (password == attempt);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue