clean solution found

This commit is contained in:
EntireTwix 2021-07-15 00:29:29 -07:00
parent 2599897788
commit 9223c520b1
3 changed files with 4 additions and 2 deletions

View file

@ -52,8 +52,7 @@ AVX2_CFLAGS=-mavx2 SSSE3_CFLAGS=-mssse3 SSE41_CFLAGS=-msse4.1 SSE42_CFLAGS=-msse
cd ../..
mkdir build
cd build
cp ../config.json config.json
cp ../users.dat users.dat
mv ../config.json config.json
```
### CMake Flags

View file

@ -342,6 +342,9 @@ 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};
users_save.write((char *)temp, 16);
users_save.close();
throw std::invalid_argument("Cannot access loading file\n");
}

BIN
users.dat

Binary file not shown.