mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
🔥 cleaning pre_log changes
This commit is contained in:
parent
30801e6730
commit
67a3d02c82
1 changed files with 0 additions and 5 deletions
5
main.cpp
5
main.cpp
|
|
@ -36,11 +36,6 @@ void SaveSig(int s)
|
|||
|
||||
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)
|
||||
{
|
||||
std::cerr << "Usage: sudo ./bank <admin account> <saving frequency in minutes>\n";
|
||||
|
|
|
|||
Loading…
Reference in a new issue