From 22d1e02460faef2b1900e7ec97f77e8c93e268d0 Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Tue, 13 Jul 2021 20:26:15 -0700 Subject: [PATCH] :fire: removed move constructor variant --- include/user.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/user.h b/include/user.h index 2e587d7..ef39aad 100644 --- a/include/user.h +++ b/include/user.h @@ -11,7 +11,7 @@ struct User Log log; #endif - User(uint32_t init_bal, std::string &&init_pass) noexcept; + User(uint32_t init_bal, const std::string &init_pass) noexcept; User(uint32_t init_bal, XXH64_hash_t init_pass) noexcept; #if MAX_LOG_SIZE > 0 User(uint32_t init_bal, XXH64_hash_t init_pass, const Json::Value &log_j) noexcept;