Remove HERE macro

Some cleanup.
Add location to some functions.
This commit is contained in:
Nekotekina 2020-12-09 18:04:52 +03:00
parent d25c401aec
commit 36c8654fb8
130 changed files with 969 additions and 889 deletions

View file

@ -270,7 +270,7 @@ std::unique_ptr<gs_frame> gui_application::get_gs_frame()
frame = new gs_frame(frame_geometry, app_icon, m_gui_settings);
break;
}
default: fmt::throw_exception("Invalid video renderer: %s" HERE, type);
default: fmt::throw_exception("Invalid video renderer: %s", type);
}
m_game_window = frame;
@ -327,7 +327,7 @@ void gui_application::InitializeCallbacks()
#endif
default:
{
fmt::throw_exception("Invalid video renderer: %s" HERE, type);
fmt::throw_exception("Invalid video renderer: %s", type);
}
}
};