mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-26 23:47:21 +00:00
Remove empty destructors
This commit is contained in:
parent
4d57eff946
commit
35e5d8497b
@ -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();
|
||||||
}
|
}
|
||||||
|
@ -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();
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user