mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 20:47:10 +11:00
warning in exception throw
This commit is contained in:
parent
b8ba5d49b5
commit
348c3b6e12
1 changed files with 1 additions and 1 deletions
|
|
@ -349,7 +349,7 @@ void Bank::Load()
|
||||||
std::ifstream users_load(users_location, std::ios::out | std::ios::binary);
|
std::ifstream users_load(users_location, std::ios::out | std::ios::binary);
|
||||||
if (!users_load.is_open())
|
if (!users_load.is_open())
|
||||||
{
|
{
|
||||||
throw std::invalid_argument("Cannot find save file, to generate a new one run ./bank\n");
|
throw std::invalid_argument("Cannot find save file, to generate a new one run \"./bank\" (warning: will override file if it already exists)\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t buffer_size;
|
uint32_t buffer_size;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue