aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/AudioSource.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/AudioSource.h')
-rw-r--r--src/crepe/api/AudioSource.h4
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
-