mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-17 21:29:19 +02:00
refactor(sonar): declare variables separately from their type definitions (cpp:S3646)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -45,7 +45,8 @@ struct launcher : public map_object
|
||||
enum type_e {
|
||||
track_switch,
|
||||
level_crossing
|
||||
} type;
|
||||
};
|
||||
type_e type;
|
||||
|
||||
gfx::basic_vertex vertex() override {
|
||||
return gfx::basic_vertex(location, glm::vec3(),
|
||||
|
||||
Reference in New Issue
Block a user