diff options
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/dye.h | 2 | ||||
-rw-r--r-- | src/resources/sdlmusic.h | 2 | ||||
-rw-r--r-- | src/resources/soundeffect.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/dye.h b/src/resources/dye.h index 16f476399..557e8524e 100644 --- a/src/resources/dye.h +++ b/src/resources/dye.h @@ -102,7 +102,7 @@ class Dye final * The parts of string are separated by semi-colons. Each part starts * by an uppercase letter, followed by a colon and then a palette name. */ - Dye(const std::string &dye); + explicit Dye(const std::string &dye); A_DELETE_COPY(Dye) diff --git a/src/resources/sdlmusic.h b/src/resources/sdlmusic.h index 5b60ebb64..8d2b24044 100644 --- a/src/resources/sdlmusic.h +++ b/src/resources/sdlmusic.h @@ -73,7 +73,7 @@ class SDLMusic final : public Resource /** * Constructor. */ - SDLMusic(Mix_Music *const music); + explicit SDLMusic(Mix_Music *const music); Mix_Music *mMusic; }; diff --git a/src/resources/soundeffect.h b/src/resources/soundeffect.h index 50ddd562d..20164a397 100644 --- a/src/resources/soundeffect.h +++ b/src/resources/soundeffect.h @@ -69,7 +69,7 @@ class SoundEffect final : public Resource /** * Constructor. */ - SoundEffect(Mix_Chunk *const soundEffect) : + explicit SoundEffect(Mix_Chunk *const soundEffect) : Resource(), mChunk(soundEffect) { } |