From 61a6d67177bb6be9f6e2690f1c00db405764193f Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Fri, 9 Apr 2021 02:22:27 -0700 Subject: [PATCH] simplified Contains --- include/bank.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bank.hpp b/include/bank.hpp index 81770b8..e2147a9 100644 --- a/include/bank.hpp +++ b/include/bank.hpp @@ -99,7 +99,7 @@ public: } bool Contains(const std::string &name) const { - return users.contains(name, users.hash(name)); + return users.contains(name); } bool SetBal(const std::string &name, const std::string &attempt, uint32_t amount) {