17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-05 18:02:32 +01:00

refactor(sonar): use =default for trivial special members (cpp:S3490)

This commit is contained in:
jerrrrycho
2026-10-10 15:05:45 +02:00
parent 3f1c9720fb
commit baafdcc1cc
10 changed files with 12 additions and 25 deletions

View File

@@ -18,9 +18,7 @@ AirCoupler::AirCoupler()
Clear();
}
AirCoupler::~AirCoupler()
{
}
AirCoupler::~AirCoupler() = default;
/**
* \return 1 when \(straight\) TModel3d \c only ModelOn exists

View File

@@ -632,7 +632,7 @@ TTrain::TTrain()
}
}
TTrain::~TTrain() {}
TTrain::~TTrain() = default;
bool TTrain::Init(TDynamicObject *NewDynamicObject, bool e3d)
{ // powiązanie ręcznego sterowania kabiną z pojazdem