Remove empty destructors

This commit is contained in:
EmosewaMC 2023-06-15 02:32:30 -07:00
parent 4d57eff946
commit 35e5d8497b
4 changed files with 0 additions and 10 deletions

View File

@ -5,10 +5,6 @@ EntityCallbackTimer::EntityCallbackTimer(const float& time, const std::function<
m_Callback = callback; m_Callback = callback;
} }
EntityCallbackTimer::~EntityCallbackTimer() {
}
void EntityCallbackTimer::ExecuteCallback() { void EntityCallbackTimer::ExecuteCallback() {
m_Callback(); m_Callback();
} }

View File

@ -6,7 +6,6 @@
class EntityCallbackTimer { class EntityCallbackTimer {
public: public:
EntityCallbackTimer(const float& time, const std::function<void()>& callback); EntityCallbackTimer(const float& time, const std::function<void()>& callback);
~EntityCallbackTimer();
void ExecuteCallback(); void ExecuteCallback();
std::function<void()> GetCallback(); std::function<void()> GetCallback();

View File

@ -5,10 +5,6 @@ EntityTimer::EntityTimer(const std::string& name, const float& time) {
m_Time = time; m_Time = time;
} }
EntityTimer::~EntityTimer() {
}
std::string EntityTimer::GetName() { std::string EntityTimer::GetName() {
return m_Name; return m_Name;
} }

View File

@ -5,7 +5,6 @@
class EntityTimer { class EntityTimer {
public: public:
EntityTimer(const std::string& name, const float& time); EntityTimer(const std::string& name, const float& time);
~EntityTimer();
std::string GetName(); std::string GetName();
float GetTime(); float GetTime();