🔥 cleaning pre_log changes

This commit is contained in:
EntireTwix 2021-07-06 19:04:57 -07:00
parent 30801e6730
commit 67a3d02c82

View file

@ -36,11 +36,6 @@ void SaveSig(int s)
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
static_assert(bool(MAX_LOG_SIZE) == bool(PRE_LOG_SIZE), "You must either utilize both or neither logging variables.\n");
static_assert(MAX_LOG_SIZE >= PRE_LOG_SIZE, "The maximum log size must be larger than or equal to the amount preallocated.\n");
static_assert(!MAX_LOG_SIZE || !(MAX_LOG_SIZE % PRE_LOG_SIZE), "The maximum log size must be divisible by the preallocation size.\n");
if (argc != 3) if (argc != 3)
{ {
std::cerr << "Usage: sudo ./bank <admin account> <saving frequency in minutes>\n"; std::cerr << "Usage: sudo ./bank <admin account> <saving frequency in minutes>\n";