Made some 1 argument constructors explicit
This commit is contained in:
parent
ac45dc9cba
commit
74f9388f31
@ -58,7 +58,7 @@ public :
|
||||
/// \param buffer Sound buffer containing the audio data to play with the sound
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
Sound(const SoundBuffer& buffer);
|
||||
explicit Sound(const SoundBuffer& buffer);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Copy constructor
|
||||
|
@ -61,7 +61,7 @@ public :
|
||||
/// \param vertexCount Initial number of vertices in the array
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
VertexArray(PrimitiveType type, unsigned int vertexCount = 0);
|
||||
explicit VertexArray(PrimitiveType type, unsigned int vertexCount = 0);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Return the vertex count
|
||||
|
@ -143,7 +143,7 @@ public :
|
||||
/// \param message Response message
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
Response(Status code = InvalidResponse, const std::string& message = "");
|
||||
explicit Response(Status code = InvalidResponse, const std::string& message = "");
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Check if the status code means a success
|
||||
|
@ -52,7 +52,7 @@ public :
|
||||
/// \param mutex Mutex to lock
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
Lock(Mutex& mutex);
|
||||
explicit Lock(Mutex& mutex);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Destructor
|
||||
|
Loading…
Reference in New Issue
Block a user