mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 00:59:18 +02:00
reformat: set variables to constexpr where possible
This commit is contained in:
@@ -540,7 +540,7 @@ void ui_layer::render_menu_contents()
|
||||
bool flag = DebugModeFlag;
|
||||
if (ImGui::MenuItem(STR_C("Debug mode"), nullptr, &flag))
|
||||
{
|
||||
const command_relay relay;
|
||||
constexpr command_relay relay;
|
||||
relay.post(user_command::debugtoggle, 0.0, 0.0, GLFW_RELEASE, 0);
|
||||
}
|
||||
ImGui::MenuItem(STR_C("Quit"), "F10", &m_quit_active);
|
||||
|
||||
Reference in New Issue
Block a user