Made the constructors of sf::Sound and sf::Music explicit
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1445 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
d8a31243e4
commit
221ef8f5b3
|
@ -55,7 +55,7 @@ public :
|
||||||
/// (ie. size taken by the music in memory) (44100 by default)
|
/// (ie. size taken by the music in memory) (44100 by default)
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
Music(std::size_t BufferSize = 44100);
|
explicit Music(std::size_t BufferSize = 44100);
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// Destructor
|
/// Destructor
|
||||||
|
|
|
@ -72,7 +72,7 @@ public :
|
||||||
/// \param Position : Position (0, 0, 0 by default)
|
/// \param Position : Position (0, 0, 0 by default)
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
Sound(const SoundBuffer& Buffer, bool Loop = false, float Pitch = 1.f, float Volume = 100.f, const Vector3f& Position = Vector3f(0, 0, 0));
|
explicit Sound(const SoundBuffer& Buffer, bool Loop = false, float Pitch = 1.f, float Volume = 100.f, const Vector3f& Position = Vector3f(0, 0, 0));
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// Copy constructor
|
/// Copy constructor
|
||||||
|
|
Loading…
Reference in a new issue