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
|
@ -31,8 +31,9 @@
|
|||
namespace sf
|
||||
{
|
||||
////////////////////////////////////////////////////////////
|
||||
ConvexShape::ConvexShape()
|
||||
ConvexShape::ConvexShape(unsigned int pointsCount)
|
||||
{
|
||||
SetPointsCount(pointsCount);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue