mirror of https://github.com/AxioDL/metaforce.git
Runtime: Default destructors where applicable
Same behavior, but allows the destructors to be trivial, etc.
This commit is contained in:
parent
d167293552
commit
1415265ef2
|
@ -20,7 +20,7 @@
|
|||
namespace urde {
|
||||
static logvisor::Module Log("urde::CModelData");
|
||||
|
||||
CModelData::~CModelData() {}
|
||||
CModelData::~CModelData() = default;
|
||||
|
||||
CModelData::CModelData() {}
|
||||
CModelData CModelData::CModelDataNull() { return CModelData(); }
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -280,7 +280,7 @@ CMFGameLoader::CMFGameLoader() : CMFGameLoaderBase("CMFGameLoader") {
|
|||
}
|
||||
}
|
||||
|
||||
CMFGameLoader::~CMFGameLoader() {}
|
||||
CMFGameLoader::~CMFGameLoader() = default;
|
||||
|
||||
static const char* LoadDepPAKs[] = {"TestAnim", "SamusGun", "SamGunFx", nullptr};
|
||||
|
||||
|
|
Loading…
Reference in New Issue