Made one-arg constructors explicit in shapes classes
This commit is contained in:
parent
a2fcb75876
commit
6381d10d40
4 changed files with 7 additions and 4 deletions
|
@ -47,7 +47,7 @@ public :
|
|||
/// \param size Size of the rectangle
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
RectangleShape(const Vector2f& size = Vector2f(0, 0));
|
||||
explicit RectangleShape(const Vector2f& size = Vector2f(0, 0));
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Set the size of the rectangle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue