mirror of
				https://github.com/DarkflameUniverse/DarkflameServer.git
				synced 2025-11-03 22:21:59 +00:00 
			
		
		
		
	Remove empty destructors
This commit is contained in:
		@@ -5,10 +5,6 @@ EntityCallbackTimer::EntityCallbackTimer(const float& time, const std::function<
 | 
			
		||||
	m_Callback = callback;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
EntityCallbackTimer::~EntityCallbackTimer() {
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void EntityCallbackTimer::ExecuteCallback() {
 | 
			
		||||
	m_Callback();
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,6 @@
 | 
			
		||||
class EntityCallbackTimer {
 | 
			
		||||
public:
 | 
			
		||||
	EntityCallbackTimer(const float& time, const std::function<void()>& callback);
 | 
			
		||||
	~EntityCallbackTimer();
 | 
			
		||||
 | 
			
		||||
	void ExecuteCallback();
 | 
			
		||||
	std::function<void()> GetCallback();
 | 
			
		||||
 
 | 
			
		||||
@@ -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;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -5,7 +5,6 @@
 | 
			
		||||
class EntityTimer {
 | 
			
		||||
public:
 | 
			
		||||
	EntityTimer(const std::string& name, const float& time);
 | 
			
		||||
	~EntityTimer();
 | 
			
		||||
 | 
			
		||||
	std::string GetName();
 | 
			
		||||
	float GetTime();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user