diff options
Diffstat (limited to 'src/crepe/ParticleSystem.h')
-rw-r--r-- | src/crepe/ParticleSystem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/ParticleSystem.h b/src/crepe/ParticleSystem.h index fd6d110..7b14f71 100644 --- a/src/crepe/ParticleSystem.h +++ b/src/crepe/ParticleSystem.h @@ -9,7 +9,7 @@ namespace crepe { class ParticleSystem { public: ParticleSystem(); - void update(float deltaTime, std::vector<ParticleEmitter>& emitters); + void update(float deltaTime, std::vector<std::reference_wrapper<ParticleEmitter>>& emitters); private: void emitParticle(ParticleEmitter &emitter); //emits a new particle |