diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-09-29 16:15:49 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-09-29 16:15:49 +0200 |
commit | feea4cbb648d67e46b413880ddbf203c88c2a2b1 (patch) | |
tree | 7c3b6bfddfef49e42b7f64256e3c027c43744f8e /src/crepe/Sound.h | |
parent | 3cb7227c3c9678141ff74915331b706265c380cb (diff) |
implement debug logging functions and fix sound system segfault
Diffstat (limited to 'src/crepe/Sound.h')
-rw-r--r-- | src/crepe/Sound.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/crepe/Sound.h b/src/crepe/Sound.h index 71fe390..333465b 100644 --- a/src/crepe/Sound.h +++ b/src/crepe/Sound.h @@ -55,9 +55,8 @@ public: void set_looping(bool looping); private: - Sound(std::unique_ptr<api::Resource> res, SoundSystem & system); - SoundSystem & system; friend class SoundSystem; + Sound(std::unique_ptr<api::Resource> res); private: std::unique_ptr<api::Resource> res; |