From 35e5d8497bffd8cf53f7a750e7cc1ae88e9d7e46 Mon Sep 17 00:00:00 2001 From: EmosewaMC <39972741+EmosewaMC@users.noreply.github.com> Date: Thu, 15 Jun 2023 02:32:30 -0700 Subject: [PATCH] Remove empty destructors --- dGame/dEntity/EntityCallbackTimer.cpp | 4 ---- dGame/dEntity/EntityCallbackTimer.h | 1 - dGame/dEntity/EntityTimer.cpp | 4 ---- dGame/dEntity/EntityTimer.h | 1 - 4 files changed, 10 deletions(-) diff --git a/dGame/dEntity/EntityCallbackTimer.cpp b/dGame/dEntity/EntityCallbackTimer.cpp index 16a3ff3f..95add483 100644 --- a/dGame/dEntity/EntityCallbackTimer.cpp +++ b/dGame/dEntity/EntityCallbackTimer.cpp @@ -5,10 +5,6 @@ EntityCallbackTimer::EntityCallbackTimer(const float& time, const std::function< m_Callback = callback; } -EntityCallbackTimer::~EntityCallbackTimer() { - -} - void EntityCallbackTimer::ExecuteCallback() { m_Callback(); } diff --git a/dGame/dEntity/EntityCallbackTimer.h b/dGame/dEntity/EntityCallbackTimer.h index 2b7429f4..e097ca62 100644 --- a/dGame/dEntity/EntityCallbackTimer.h +++ b/dGame/dEntity/EntityCallbackTimer.h @@ -6,7 +6,6 @@ class EntityCallbackTimer { public: EntityCallbackTimer(const float& time, const std::function& callback); - ~EntityCallbackTimer(); void ExecuteCallback(); std::function GetCallback(); diff --git a/dGame/dEntity/EntityTimer.cpp b/dGame/dEntity/EntityTimer.cpp index d273f109..078d0da3 100644 --- a/dGame/dEntity/EntityTimer.cpp +++ b/dGame/dEntity/EntityTimer.cpp @@ -5,10 +5,6 @@ EntityTimer::EntityTimer(const std::string& name, const float& time) { m_Time = time; } -EntityTimer::~EntityTimer() { - -} - std::string EntityTimer::GetName() { return m_Name; } diff --git a/dGame/dEntity/EntityTimer.h b/dGame/dEntity/EntityTimer.h index a5071a82..90fe3e46 100644 --- a/dGame/dEntity/EntityTimer.h +++ b/dGame/dEntity/EntityTimer.h @@ -5,7 +5,6 @@ class EntityTimer { public: EntityTimer(const std::string& name, const float& time); - ~EntityTimer(); std::string GetName(); float GetTime();