mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-16 16:12:14 +11:00
🔒 static_assert for safety
This commit is contained in:
parent
72864e6c18
commit
8a7a4680e0
1 changed files with 1 additions and 0 deletions
1
main.cpp
1
main.cpp
|
|
@ -29,6 +29,7 @@ void SaveSig(int s)
|
|||
int main(int argc, char **argv)
|
||||
{
|
||||
{
|
||||
static_assert(MAX_LOG_SIZE >= 0);
|
||||
if (argc == 1)
|
||||
{
|
||||
std::ofstream users_save(users_location, std::ios::out | std::ios::binary);
|
||||
|
|
|
|||
Loading…
Reference in a new issue