Skip to content

Commit d48d521

Browse files
committed
make destructors of systems public
1 parent 8bcb81e commit d48d521

10 files changed

+3
-11
lines changed

rootex/framework/systems/animation_system.h

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ class AnimationSystem : public System
77
{
88
AnimationSystem();
99
AnimationSystem(AnimationSystem&) = delete;
10-
~AnimationSystem() = default;
1110

1211
public:
1312
static AnimationSystem* GetSingleton();

rootex/framework/systems/audio_system.h

-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ class AudioSystem : public System
5656

5757
AudioSystem();
5858
AudioSystem(AudioSystem&) = delete;
59-
virtual ~AudioSystem() = default;
6059

6160
public:
6261
static AudioSystem* GetSingleton();

rootex/framework/systems/input_system.h

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ class InputSystem : public System
1010

1111
InputSystem();
1212
InputSystem(InputSystem&) = delete;
13-
~InputSystem() = default;
1413

1514
Variant windowResized(const Event* event);
1615

rootex/framework/systems/particle_system.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ class ParticleSystem : public System
2121

2222
ParticleSystem();
2323
ParticleSystem(const ParticleSystem&) = delete;
24-
~ParticleSystem();
2524

2625
public:
27-
static ParticleSystem* GetSingleton();
26+
static ParticleSystem* GetSingleton();
27+
28+
~ParticleSystem();
2829

2930
Effekseer::Handle play(Effekseer::Effect* effect, const Vector3& position, int startFrame);
3031
void stop(Effekseer::Handle handle);

rootex/framework/systems/player_system.h

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ class PlayerSystem : public System
88
{
99
PlayerSystem();
1010
PlayerSystem(const PlayerSystem&) = delete;
11-
virtual ~PlayerSystem() = default;
1211

1312
public:
1413
static PlayerSystem* GetSingleton();

rootex/framework/systems/post_process_system.h

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ class PostProcessSystem : public System
1313

1414
PostProcessSystem();
1515
PostProcessSystem(const PostProcessSystem&) = delete;
16-
~PostProcessSystem() = default;
1716

1817
public:
1918
static PostProcessSystem* GetSingleton();

rootex/framework/systems/render_ui_system.h

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ class RenderUISystem : public System
99

1010
RenderUISystem();
1111
RenderUISystem(RenderUISystem&) = delete;
12-
virtual ~RenderUISystem() = default;
1312

1413
public:
1514
static RenderUISystem* GetSingleton();

rootex/framework/systems/script_system.h

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ class ScriptSystem : public System
77
{
88
ScriptSystem();
99
ScriptSystem(const ScriptSystem&) = delete;
10-
~ScriptSystem() = default;
1110

1211
Vector<Entity*> m_ScriptEntitiesToInit;
1312
Vector<Entity*> m_ScriptEntitiesToEnter;

rootex/framework/systems/trigger_system.h

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ class TriggerSystem : public System
77
{
88
TriggerSystem();
99
TriggerSystem(const TriggerSystem&) = delete;
10-
~TriggerSystem() = default;
1110

1211
public:
1312
static TriggerSystem* GetSingleton();

rootex/framework/systems/ui_system.h

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ class UISystem : public System
2828
Ptr<FlipbookDecoratorInstancer> m_FlipbookInstancer;
2929

3030
UISystem();
31-
virtual ~UISystem() = default;
3231

3332
Variant enableDebugger(const Event* event);
3433
Variant disableDebugger(const Event* event);

0 commit comments

Comments
 (0)