diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-30 16:42:21 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-30 16:42:21 +0100 |
commit | 9eff2e24fa4cf0ffad2b47cc922a6558bc1a9fa1 (patch) | |
tree | e673cba5f221523d37f51b67a155abfc0c415eb3 /src/crepe/api/AudioSource.h | |
parent | f7d70abf3fee5933034d93f594f898849c5273ad (diff) |
`make format`
Diffstat (limited to 'src/crepe/api/AudioSource.h')
-rw-r--r-- | src/crepe/api/AudioSource.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/api/AudioSource.h b/src/crepe/api/AudioSource.h index 1899c22..63b4bc4 100644 --- a/src/crepe/api/AudioSource.h +++ b/src/crepe/api/AudioSource.h @@ -4,8 +4,8 @@ #include "../types.h" #include "../util/Private.h" -#include "GameObject.h" #include "Asset.h" +#include "GameObject.h" namespace crepe { @@ -20,6 +20,7 @@ protected: AudioSource(game_object_id_t id, const Asset & source); //! Only ComponentManager can create components friend class ComponentManager; + public: // But std::unique_ptr needs to be able to destoy this component again virtual ~AudioSource() = default; @@ -62,4 +63,3 @@ private: }; } // namespace crepe - |