mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
🔥 static not needed
This commit is contained in:
parent
8fb7687d42
commit
bf8ecccbb8
1 changed files with 1 additions and 1 deletions
|
|
@ -342,7 +342,7 @@ void Bank::Load()
|
|||
if (!users_load.is_open())
|
||||
{
|
||||
std::ofstream users_save(users_location, std::ios::out | std::ios::binary);
|
||||
static uint8_t temp[16]{16, 0, 0, 0, 4};
|
||||
uint8_t temp[16]{16, 0, 0, 0, 4};
|
||||
users_save.write((char *)temp, 16);
|
||||
users_save.close();
|
||||
throw std::invalid_argument("Cannot find users.dat, file has been created\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue