From 25802ecd0d5b4ee87810884ac576ebbcfd19f4a0 Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Thu, 22 Apr 2021 12:39:01 -0700 Subject: [PATCH] :fire: legacy code removed --- config.json | 7 ------- include/user.hpp | 4 ++-- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/config.json b/config.json index 5576c78..eeadc3c 100644 --- a/config.json +++ b/config.json @@ -4,13 +4,6 @@ "address": "0.0.0.0", "port": 80, "https": false - }, - { - "address": "0.0.0.0", - "port": 443, - "https": true, - "cert": "", - "key": "" } ] } \ No newline at end of file diff --git a/include/user.hpp b/include/user.hpp index ade7eaf..97c6f22 100644 --- a/include/user.hpp +++ b/include/user.hpp @@ -22,8 +22,8 @@ struct User * @param init_bal initial balance * @param init_pass initial password */ - User(uint_fast32_t init_bal, std::string &&init_pass, bool state = false) : balance(init_bal), password(XXH3_64bits(init_pass.data(), init_pass.size())) {} - User(uint_fast32_t init_bal, uint64_t init_pass, bool state = false) : balance(init_bal), password(init_pass) {} + User(uint_fast32_t init_bal, std::string &&init_pass) : balance(init_bal), password(XXH3_64bits(init_pass.data(), init_pass.size())) {} + User(uint_fast32_t init_bal, uint64_t init_pass) : balance(init_bal), password(init_pass) {} Json::Value Serialize() const {