From f498d80c587033bffb9abedb2b0827ad8d4a2a32 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 2 Feb 2012 05:11:50 +0300 Subject: Add some checks after automatic checking. --- src/resources/soundeffect.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/resources/soundeffect.h') diff --git a/src/resources/soundeffect.h b/src/resources/soundeffect.h index 0df7f50d5..b8c9e8735 100644 --- a/src/resources/soundeffect.h +++ b/src/resources/soundeffect.h @@ -64,7 +64,8 @@ class SoundEffect : public Resource /** * Constructor. */ - SoundEffect(Mix_Chunk *soundEffect): mChunk(soundEffect) + SoundEffect(Mix_Chunk *soundEffect) : + mChunk(soundEffect) { } Mix_Chunk *mChunk; -- cgit v1.2.3-70-g09d2