mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-02 19:49:15 +01:00
refactor(sonar): declare non-mutating member functions const (cpp:S5817)
Virtual functions are left untouched so overrides keep matching.
This commit is contained in:
@@ -122,7 +122,7 @@ private:
|
||||
glm::vec3 color { 16.f / 255.f };
|
||||
|
||||
void deserialize( cParser &Input );
|
||||
void initialize( smoke_particle &Particle );
|
||||
void initialize( smoke_particle &Particle ) const;
|
||||
};
|
||||
|
||||
using bounding_box = glm::dvec3[ 2 ]; // bounding box of owned particles
|
||||
|
||||
Reference in New Issue
Block a user