17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-31 12:19:06 +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

@@ -15,9 +15,7 @@ cMoon::cMoon() {
m_observer.temp = 15.0; // ambient dry-bulb temperature, degrees C
}
cMoon::~cMoon() {
}
cMoon::~cMoon() = default;
void
cMoon::init() {

View File

@@ -53,8 +53,7 @@ CSkyDome::CSkyDome (int const Tesselation) :
Generate();
}
CSkyDome::~CSkyDome() {
}
CSkyDome::~CSkyDome() = default;
//******************************************************************************//

View File

@@ -15,10 +15,7 @@ cSun::cSun() {
m_observer.temp = 15.0; // ambient dry-bulb temperature, degrees C
}
cSun::~cSun()
{
}
cSun::~cSun() = default;
void
cSun::init() {