Runtime: Default destructors where applicable

Same behavior, but allows the destructors to be trivial, etc.
This commit is contained in:
Lioncash 2020-03-31 04:50:24 -04:00
parent d167293552
commit 1415265ef2
4 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@
namespace urde {
static logvisor::Module Log("urde::CModelData");
CModelData::~CModelData() {}
CModelData::~CModelData() = default;
CModelData::CModelData() {}
CModelData CModelData::CModelDataNull() { return CModelData(); }

View File

@ -220,7 +220,7 @@ CBooRenderer::CAreaListItem::CAreaListItem(const std::vector<CMetroidModelInstan
, x18_areaIdx(areaIdx)
, m_shaderSet(shaderSet) {}
CBooRenderer::CAreaListItem::~CAreaListItem() {}
CBooRenderer::CAreaListItem::~CAreaListItem() = default;
void CBooRenderer::ActivateLightsForModel(CAreaListItem* item, CBooModel& model) {
std::vector<CLight> thisLights;

View File

@ -2,7 +2,7 @@
namespace urde {
CFrontEndUITouchBar::~CFrontEndUITouchBar() {}
CFrontEndUITouchBar::~CFrontEndUITouchBar() = default;
void CFrontEndUITouchBar::SetPhase(EPhase ph) { m_phase = ph; }
CFrontEndUITouchBar::EPhase CFrontEndUITouchBar::GetPhase() { return m_phase; }
void CFrontEndUITouchBar::SetFileSelectPhase(const SFileSelectDetail details[3], bool eraseGame, bool galleryActive) {

View File

@ -280,7 +280,7 @@ CMFGameLoader::CMFGameLoader() : CMFGameLoaderBase("CMFGameLoader") {
}
}
CMFGameLoader::~CMFGameLoader() {}
CMFGameLoader::~CMFGameLoader() = default;
static const char* LoadDepPAKs[] = {"TestAnim", "SamusGun", "SamGunFx", nullptr};