mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 08:09:19 +02:00
reformat: parameters can be made const
This commit is contained in:
@@ -16,7 +16,7 @@ public:
|
||||
bool save();
|
||||
|
||||
movement_scheme movement() const { return m_movement; }
|
||||
void movement(movement_scheme scheme) { m_movement = scheme; }
|
||||
void movement(const movement_scheme scheme) { m_movement = scheme; }
|
||||
|
||||
private:
|
||||
movement_scheme m_movement{movement_scheme::wsad};
|
||||
|
||||
Reference in New Issue
Block a user