16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 03:39:17 +02:00

reformat: parameters can be made const

This commit is contained in:
jerrrrycho
2026-07-04 07:08:14 +02:00
parent 6fd1d6715b
commit 220689a5e3
121 changed files with 1380 additions and 1352 deletions

View File

@@ -54,9 +54,9 @@ class editor_mode : public application_mode
static void set_focus_active(bool isActive);
static TCamera& get_camera() { return Camera; }
static bool change_history() { return m_change_history; }
static void set_change_history(bool enabled) { m_change_history = enabled; }
static void set_change_history(const bool enabled) { m_change_history = enabled; }
static bool settings_open() { return m_settings_open; }
static void set_settings_open(bool enabled) { m_settings_open = enabled; }
static void set_settings_open(const bool enabled) { m_settings_open = enabled; }
private:
// types
struct editormode_input