if (!good())
{
cerr << "Failed to open book file " << fileName << endl;
- exit(EXIT_FAILURE);
+ Application::exit_with_failure();
}
}
if (!good())
{
cerr << "Failed to read book entry at index " << idx << endl;
- exit(EXIT_FAILURE);
+ Application::exit_with_failure();
}
}