Moved and renamed terminal_error.* to fatal_error.*
This commit is contained in:
@@ -120,7 +120,7 @@ void ClientApplication::Init(int argc, char* argv[]) {
|
||||
else {
|
||||
std::ostringstream msg;
|
||||
msg << "Failed to retrieve window info: " << SDL_GetError();
|
||||
throw(msg.str());
|
||||
throw(std::runtime_error(msg.str()));
|
||||
}
|
||||
|
||||
//-------------------------
|
||||
|
||||
Reference in New Issue
Block a user