From 8eadc3e6d9ec17670a1b08faeaf434abd6ae604c Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Sat, 26 Jun 2021 19:21:39 -0700 Subject: [PATCH] changed some constexpr flags to macros --- include/consts.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/consts.hpp b/include/consts.hpp index 37ad50f..0a0913b 100644 --- a/include/consts.hpp +++ b/include/consts.hpp @@ -10,7 +10,7 @@ constexpr const char *users_location = "../users.json"; constexpr const char *config_location = "../config.json"; // Returns money to an account on deletion (useful if you dont want any money to leave the economy) -constexpr bool return_on_del = false; +#define RETURN_ON_DEL false constexpr const char *return_account = ""; /* @@ -25,6 +25,4 @@ if false, when frequency is hit save cons HIGH disk usage */ -constexpr bool conservative_disk_save = true; - -//constexpr unsigned max_users = 1000; \ No newline at end of file +#define CONSERVATIVE_DISK_SAVE true \ No newline at end of file